Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
f6762d84
Commit
f6762d84
authored
May 14, 2021
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jdtm2qft
parent
e65ff565
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
center-order/app/base/api/impl/action/order.js
+3
-0
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
+13
-4
No files found.
center-order/app/base/api/impl/action/order.js
View file @
f6762d84
...
...
@@ -118,6 +118,9 @@ class OrderAPI extends APIBase {
case
"receiveAliTmOrder"
:
//接收阿里商标订单
opResult
=
await
this
.
orderinfoSve
.
receiveAliTmOrder
(
pobj
);
break
;
case
"receiveFqbossTmOrder"
:
//接收fqboss商标订单
opResult
=
await
this
.
orderinfoSve
.
receiveFqbossTmOrder
(
pobj
);
break
;
case
"receiveAliTmStatus"
:
//接收阿里商标状态
opResult
=
await
this
.
orderinfoSve
.
receiveAliTmStatus
(
pobj
);
break
;
...
...
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
View file @
f6762d84
...
...
@@ -2543,6 +2543,15 @@ class OrderInfoService extends ServiceBase {
* @param {*} pobj
*/
async
receiveAliTmOrder
(
pobj
)
{
var
res
=
await
this
.
receiveFqbossTmOrder
(
pobj
);
return
res
;
}
/**
* 接收fqboss商标订单信息
* @param {*} pobj
*/
async
receiveFqbossTmOrder
(
pobj
)
{
var
res
=
await
this
.
checkAndPackageAliTmOrderParams
(
pobj
);
if
(
!
res
||
res
.
status
!=
0
)
{
return
res
;
...
...
@@ -2606,16 +2615,16 @@ class OrderInfoService extends ServiceBase {
return
system
.
getResult
(
null
,
"未知用户信息,100500"
);
}
if
(
!
pobj
.
actionBody
.
channelOrderNo
)
{
return
system
.
getResult
(
null
,
"
阿里
订单号不能为空,100110"
);
return
system
.
getResult
(
null
,
"
渠道方
订单号不能为空,100110"
);
}
if
(
!
pobj
.
actionBody
.
serviceOrderNo
)
{
if
(
!
pobj
.
actionBody
.
serviceOrderNo
&&
pobj
.
appInfo
.
uapp_id
!=
31
)
{
return
system
.
getResult
(
null
,
"蜂擎订单号不能为空,100120"
);
}
if
(
!
pobj
.
actionBody
.
serviceNo
)
{
return
system
.
getResult
(
null
,
"服务单号不能为空,100130"
);
}
if
(
!
pobj
.
actionBody
.
needNo
)
{
return
system
.
getResult
(
null
,
"
阿里
需求号不能为空,100110"
);
if
(
!
pobj
.
actionBody
.
needNo
&&
pobj
.
appInfo
.
uapp_id
!=
31
)
{
return
system
.
getResult
(
null
,
"
渠道方
需求号不能为空,100110"
);
}
if
(
!
pobj
.
actionBody
.
created_at
)
{
return
system
.
getResult
(
null
,
"商标创建时间不能为空,100190"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment