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
b171e0ad
Commit
b171e0ad
authored
Feb 20, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
143cbd42
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
1 deletions
+51
-1
center-channel/app/base/api/impl/opaction/order.js
+3
-0
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
+5
-0
center-channel/app/config/routes/api.js
+1
-1
center-channel/app/front/entry/public/apidoc/platform/order.md
+42
-0
No files found.
center-channel/app/base/api/impl/opaction/order.js
View file @
b171e0ad
...
@@ -31,6 +31,9 @@ class ProductAPI extends APIBase {
...
@@ -31,6 +31,9 @@ class ProductAPI extends APIBase {
case
"getOrderInfo"
:
//获取订单列表信息
case
"getOrderInfo"
:
//获取订单列表信息
opResult
=
await
this
.
utilsOrderSve
.
getOrderInfo
(
pobj
,
pobj
.
actionBody
);
opResult
=
await
this
.
utilsOrderSve
.
getOrderInfo
(
pobj
,
pobj
.
actionBody
);
break
;
break
;
case
"getOrderDeliveryInfo"
:
//获取订单交付信息
opResult
=
await
this
.
utilsOrderSve
.
getOrderDeliveryInfo
(
pobj
,
pobj
.
actionBody
);
break
;
// case "getIcbcOrderDetails"://获取工商详情
// case "getIcbcOrderDetails"://获取工商详情
// opResult = await this.utilsOrderSve.addOrder(pobj, pobj.actionBody);
// opResult = await this.utilsOrderSve.addOrder(pobj, pobj.actionBody);
// break;
// break;
...
...
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
View file @
b171e0ad
...
@@ -82,6 +82,11 @@ class UtilsOrderService extends AppServiceBase {
...
@@ -82,6 +82,11 @@ class UtilsOrderService extends AppServiceBase {
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
result
;
return
result
;
}
}
async
getOrderDeliveryInfo
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/order/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
result
;
}
/**
/**
* 获取H5支付地址
* 获取H5支付地址
* @param {*} pobj
* @param {*} pobj
...
...
center-channel/app/config/routes/api.js
View file @
b171e0ad
...
@@ -49,7 +49,7 @@ module.exports = function (app) {
...
@@ -49,7 +49,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
=
[
"addOrder"
,
"getH5PayUrl"
,
"getOrderQrCode"
,
"queryOrderStatus"
,
"getOrderInfo"
,
"addOrder"
,
"getH5PayUrl"
,
"getOrderQrCode"
,
"queryOrderStatus"
,
"getOrderInfo"
,
"getOrderDeliveryInfo"
,
"getTmNclList"
,
"getNeedInfo"
,
"getTmNclList"
,
"getNeedInfo"
,
"tmConfirm"
,
"updateTmInfo"
,
"tmConfirm"
,
"updateTmInfo"
,
"updateNclInfo"
,
"updateContacts"
,
"updateNclInfo"
,
"updateContacts"
,
...
...
center-channel/app/front/entry/public/apidoc/platform/order.md
View file @
b171e0ad
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
1.
[
下其他订单
](
#addOtherOrder
)
1.
[
下其他订单
](
#addOtherOrder
)
1.
[
获取H5支付链接
](
#getH5PayUrl
)
1.
[
获取H5支付链接
](
#getH5PayUrl
)
1.
[
获取订单列表信息
](
#getOrderInfo
)
1.
[
获取订单列表信息
](
#getOrderInfo
)
1.
[
获取工商订单交付流程信息
](
#getIcbcOrderDeliveryStatus
)
## **<a name="addOrder"> 下商标订单</a>**
## **<a name="addOrder"> 下商标订单</a>**
...
@@ -246,6 +247,7 @@
...
@@ -246,6 +247,7 @@
{
{
"status"
:
0
,
// 0为成功,否则失败
"status"
:
0
,
// 0为成功,否则失败
"msg"
:
"success"
,
"msg"
:
"success"
,
"dataCount"
:
2
,
//总条数
"data"
:
[
"data"
:
[
{
{
"orderNo"
:
"OT31202002191443AVlJ"
,
// 订单号
"orderNo"
:
"OT31202002191443AVlJ"
,
// 订单号
...
@@ -297,4 +299,43 @@
...
@@ -297,4 +299,43 @@
"requestId"
:
"92ced0cb4d地址cb4125a4b515227f3eabe1"
"requestId"
:
"92ced0cb4d地址cb4125a4b515227f3eabe1"
}
}
```
## **<a name="getIcbcOrderDeliveryStatus"> 获取工商订单交付流程信息</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/opaction/order/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 请求头中需要增加userpin(用户登录后的凭证)的值
#### 渠道执行的类型 actionType:getOrderDeliveryInfo
```
javascript
{
"orderNo"
:
"OT31202002191453Hpib33"
// Y 订单号
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
// 0为成功,否则失败
"msg"
:
"success"
,
"data"
:
[
{
"updated"
:
""
,
//更新时间
"orderDeliveryStatus"
:
"已下单"
,
//流程状态编码
"orderDeliveryStatusName"
:
"已下单"
//流程状态名称
},
{
"updated"
:
""
,
"orderDeliveryStatus"
:
"已提交材料"
,
"orderDeliveryStatusName"
:
"已提交材料"
}
],
"requestId"
:
"a277fb799d9f4dda9053fb8830f9d252"
}
```
```
\ No newline at end of file
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