Commit b171e0ad by 宋毅

tj

parent 143cbd42
...@@ -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;
......
...@@ -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
......
...@@ -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",
......
...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment