Commit 39a1252b by 庄冰

policy notes

parent cda82422
......@@ -37,6 +37,9 @@ class PolicyAPI extends APIBase {
case "getPolicyNeedList"://政策需求列表
opResult = this.policySve.getPolicyNeedList(pobj);
break;
case "submitPolicyNeedNotes"://申请信息备注提交
opResult = this.policySve.submitPolicyNeedNotes(pobj);
break;
default:
opResult = system.getResult(null, "action_type参数错误");
break;
......
......@@ -23,5 +23,11 @@ class PolicyService{
var data = JSON.parse(rtn.stdout);
return data;
}
async submitPolicyNeedNotes(pobj){
var url = this.centerOrderUrl + "action/policy/springBoard";
var rtn = await this.execClient.execPost(pobj, url);
var data = JSON.parse(rtn.stdout);
return data;
}
}
module.exports = PolicyService;
......@@ -45,7 +45,7 @@ module.exports = function (app) {
"tmConfirm", "updateTmInfo",
"updateNclInfo", "updateContacts",
"updateCustomerInfo", "addOrderAndDelivery",
"updateOrderPayStatus","getPolicyNeedList"
"updateOrderPayStatus","getPolicyNeedList","submitPolicyNeedNotes"
];
if (lst.indexOf(req.body.actionType) >= 0) {
var userpin = req.headers["userpin"] || "";
......
......@@ -3,8 +3,9 @@
1. [政策检索](#policyQuery)
1. [政策申请提报](#submitPolicyNeed)
1. [政策需求列表](#getPolicyNeedList)
1. [需求信息备注提交](#submitPolicyNeedNotes)
## **<a name="policyQuery"> 政策检索</a>**
## **<a name="policyQuery"> 政策检索(H5)</a>**
[返回到目录](#menu)
##### URL
[/web/action/policy/springBoard]
......@@ -61,7 +62,7 @@
}
```
## **<a name="submitPolicyNeed"> 政策申请提报</a>**
## **<a name="submitPolicyNeed"> 政策申请提报(H5)</a>**
[返回到目录](#menu)
##### URL
[/web/action/policy/springBoard]
......@@ -93,7 +94,7 @@
"requestId":"6afebe73d2fa47dbb2dd451468b4e3ac"
}
```
## **<a name="getPolicyNeedList"> 政策需求列表</a>**
## **<a name="getPolicyNeedList"> 政策需求列表(后台页面)</a>**
[返回到目录](#menu)
##### URL
[/web/action/policy/springBoard]
......@@ -153,3 +154,33 @@
"requestId":"de04d31de8114cc78b5257c59ea31355"
}
```
## **<a name="submitPolicyNeedNotes"> 需求信息备注提交(后台页面)</a>**
[返回到目录](#menu)
##### URL
[/web/action/policy/springBoard]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:submitPolicyNeedNotes
``` javascript
{
"actionType": "submitPolicyNeedNotes",
"actionBody": {
"needId":"17",
"customerIntention":"wyx",
"intentionContent":"补办了"
}
}
```
#### 返回结果
```javascript
{
"status":0,
"msg":"success",
"data":null,
"requestId":"0a4483b9b7ca4594b1bfc487d49746d2"
}
```
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