Commit 233941b6 by 王栋源

wdy

parent 5868d6e3
......@@ -109,15 +109,15 @@ class UtilsNeedService extends AppServiceBase {
if (!actionBody.channelNeedNo) {
return system.getResult(null, "actionBody.channelNeedNo can not be empty,100395");
}
var self=this;
var self = this;
pobj.actionBody.intentionBizId = pobj.actionBody.channelNeedNo;
pobj.actionType = "needClose"
var reqUrl = this.centerOrderUrl + "action/need/springBoard";
var result = await this.restPostUrl(pobj, reqUrl);
if (result.status == 0) {
//推送ali
await self.aliclient.reqbyget({ action: "CloseIntention", reqbody: { BizId: actionBody.channelNeedNo } });
self.utilsPushSve.aliBusiness2Fq(pobj, "pushCloseNeed");
// await self.aliclient.reqbyget({ action: "CloseIntention", reqbody: { BizId: actionBody.channelNeedNo }, apiVersion: "2019-05-08" });
// self.utilsPushSve.aliBusiness2Fq(pobj, "pushCloseNeed");
return system.getResultSuccess();
} else {
return system.getResult(null, "close fail 100389");
......
......@@ -515,7 +515,7 @@ ApplicationStatus:
## **<a name="needCloseIcp"> 服务商关闭icp需求</a>**
[返回到目录](#menu)
##### URL
[/web/action/need/springBoard]
[/web/opreceive/need/springBoard]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 请求头中需要增加userpin(用户登录后的凭证)的值
......@@ -544,7 +544,7 @@ ApplicationStatus:
## **<a name="getItemByNeedNo"> 获取需求详情</a>**
[返回到目录](#menu)
##### URL
[/web/action/need/springBoard]
[/web/opreceive/need/springBoard]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 请求头中需要增加userpin(用户登录后的凭证)的值
......
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