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
cb4c349c
Commit
cb4c349c
authored
Mar 31, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Plain Diff
gMerge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel
parents
e794e78f
c1365561
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
47 additions
and
2 deletions
+47
-2
center-channel/app/base/api/impl/opaction/opOrder.js
+3
-0
center-channel/app/base/api/impl/opaction/order.js
+0
-0
center-channel/app/base/service/impl/utilsSve/utilsOpOrderSve.js
+10
-0
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
+1
-0
center-channel/app/config/routes/api.js
+1
-1
center-channel/app/config/settings.js
+1
-1
center-channel/app/front/entry/public/apidoc/platform/order.md
+0
-0
center-channel/app/front/entry/public/apidoc/platform/tmOrder.md
+31
-0
No files found.
center-channel/app/base/api/impl/opaction/opOrder.js
View file @
cb4c349c
...
@@ -32,6 +32,9 @@ class ProductAPI extends WEBBase {
...
@@ -32,6 +32,9 @@ class ProductAPI extends WEBBase {
case
"updateTmOrder"
:
//修改商标订单信息
case
"updateTmOrder"
:
//修改商标订单信息
opResult
=
await
this
.
utilsOpOrderSve
.
updateTmOrder
(
pobj
,
pobj
.
actionBody
);
opResult
=
await
this
.
utilsOpOrderSve
.
updateTmOrder
(
pobj
,
pobj
.
actionBody
);
break
;
break
;
case
"tmConfirm"
:
//商标方案确认
opResult
=
await
this
.
utilsOpOrderSve
.
tmConfirm
(
pobj
,
pobj
.
actionBody
);
break
;
default
:
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
break
;
...
...
center-channel/app/base/api/impl/opaction/order.js
View file @
cb4c349c
center-channel/app/base/service/impl/utilsSve/utilsOpOrderSve.js
View file @
cb4c349c
...
@@ -49,5 +49,15 @@ class UtilsOpOrderService extends AppServiceBase {
...
@@ -49,5 +49,15 @@ class UtilsOpOrderService extends AppServiceBase {
this
.
utilsPushSve
.
pushBusInfo
(
tmpPobj
,
opType
,
1
);
this
.
utilsPushSve
.
pushBusInfo
(
tmpPobj
,
opType
,
1
);
}
}
}
}
async
tmConfirm
(
pobj
,
actionBody
){
//商标方案确认
if
(
!
actionBody
.
orderNo
)
{
return
system
.
getResult
(
null
,
"actionBody.orderNo can not be empty,100025"
);
}
var
reqUrl
=
this
.
centerOrderUrl
+
"action/order/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
result
;
}
}
}
module
.
exports
=
UtilsOpOrderService
;
module
.
exports
=
UtilsOpOrderService
;
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
View file @
cb4c349c
...
@@ -462,5 +462,6 @@ class UtilsOrderService extends AppServiceBase {
...
@@ -462,5 +462,6 @@ class UtilsOrderService extends AppServiceBase {
return
system
.
getResultFail
(
-
200
,
e
.
stack
);
return
system
.
getResultFail
(
-
200
,
e
.
stack
);
}
}
}
}
}
}
module
.
exports
=
UtilsOrderService
;
module
.
exports
=
UtilsOrderService
;
center-channel/app/config/routes/api.js
View file @
cb4c349c
...
@@ -109,7 +109,7 @@ module.exports = function (app) {
...
@@ -109,7 +109,7 @@ module.exports = function (app) {
}
}
req
.
body
.
appInfo
=
result
.
data
;
req
.
body
.
appInfo
=
result
.
data
;
req
.
body
.
actionProcess
=
result
.
data
.
app_code
;
req
.
body
.
actionProcess
=
result
.
data
.
app_code
;
var
lst
=
[
var
lst
=
[
"tmConfirm"
,
"addOrder"
,
"getH5PayUrl"
,
"getOrderQrCode"
,
"queryOrderStatus"
,
"getOrderInfo"
,
"getOrderDeliveryInfo"
,
"getOrderDetails"
,
"addOrder"
,
"getH5PayUrl"
,
"getOrderQrCode"
,
"queryOrderStatus"
,
"getOrderInfo"
,
"getOrderDeliveryInfo"
,
"getOrderDetails"
,
"getOrderDeliveryFlowInfo"
,
"getOrderDeliveryFlowList"
,
"getOrderLogInfo"
,
"updateContacts"
,
"updateTmOrder"
,
"delOrder"
,
"getOrderDeliveryFlowInfo"
,
"getOrderDeliveryFlowList"
,
"getOrderLogInfo"
,
"updateContacts"
,
"updateTmOrder"
,
"delOrder"
,
"submitProgramme"
,
"getProgrammeListByUser"
,
"getProgrammeInfoByNeedNo"
,
"abolishProgramme"
,
"getAliPayInfo"
"submitProgramme"
,
"getProgrammeListByUser"
,
"getProgrammeInfoByNeedNo"
,
"abolishProgramme"
,
"getAliPayInfo"
...
...
center-channel/app/config/settings.js
View file @
cb4c349c
...
@@ -57,7 +57,7 @@ var settings = {
...
@@ -57,7 +57,7 @@ var settings = {
},
},
centerOrderUrl
:
function
()
{
centerOrderUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
if
(
this
.
env
==
"dev"
)
{
return
"http://center
app
.apps.com:4011/"
;
return
"http://center
order
.apps.com:4011/"
;
}
else
{
}
else
{
return
"http://center-order-service/"
;
return
"http://center-order-service/"
;
}
}
...
...
center-channel/app/front/entry/public/apidoc/platform/order.md
View file @
cb4c349c
center-channel/app/front/entry/public/apidoc/platform/tmOrder.md
View file @
cb4c349c
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
1.
[
商标订单修改-商标尼斯信息修改
](
#updateNclInfo
)
1.
[
商标订单修改-商标尼斯信息修改
](
#updateNclInfo
)
1.
[
商标订单修改-修改申请人信息
](
#updateCustomerInfo
)
1.
[
商标订单修改-修改申请人信息
](
#updateCustomerInfo
)
1.
[
商标订单修改-修改交官材料
](
#updateOfficial
)
1.
[
商标订单修改-修改交官材料
](
#updateOfficial
)
1.
[
商标方案确认
](
#tmConfirm
)
## **<a name="getTmOrderDeliveryInfo"> 获取商标订单交付信息</a>**
## **<a name="getTmOrderDeliveryInfo"> 获取商标订单交付信息</a>**
[
返回到目录
](
#menu
)
[
返回到目录
](
#menu
)
...
@@ -359,3 +360,33 @@
...
@@ -359,3 +360,33 @@
}
}
```
```
## **<a name="tmConfirm"> 商标方案确认</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/opaction/opOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 请求头中需要增加userpin(用户登录后的凭证)的值
#### 渠道执行的类型 actionType:tmConfirm
```
javascript
{
"orderNo "
:
"346c3091684e4e0eef"
,
"isConfirm "
:
"1"
,
"notes "
:
""
,
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"data"
:
null
,
"msg"
:
"商标方案确认成功"
,
"requestId"
:
"0c14f04dc187486b829e392dc87c70c6"
}
```
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