Commit 8da69373 by 王悦

推送峰擎 token报错

parent b173fe85
...@@ -703,6 +703,7 @@ class UtilsNeedSve extends AppServiceBase { ...@@ -703,6 +703,7 @@ class UtilsNeedSve extends AppServiceBase {
"errorCode": "ok" "errorCode": "ok"
}; };
} }
var token = tokenInfo.data.token;
// 引用属性,channel依赖bizId order依赖intentionBizId // 引用属性,channel依赖bizId order依赖intentionBizId
pobj.intentionBizId = pobj.bizId pobj.intentionBizId = pobj.bizId
// 获取userpin // 获取userpin
...@@ -724,7 +725,6 @@ class UtilsNeedSve extends AppServiceBase { ...@@ -724,7 +725,6 @@ class UtilsNeedSve extends AppServiceBase {
} }
// getItemByChannelSolutionNo // getItemByChannelSolutionNo
var url = settings.centerChannelUrl() + "/api/opreceive/need/springBoard"; var url = settings.centerChannelUrl() + "/api/opreceive/need/springBoard";
var token = tokenInfo.data.token;
var result = await this.execlient.execPostTK(sobj, url, token); var result = await this.execlient.execPostTK(sobj, url, token);
if (result.status != 0) { if (result.status != 0) {
return { return {
...@@ -841,7 +841,7 @@ class UtilsNeedSve extends AppServiceBase { ...@@ -841,7 +841,7 @@ class UtilsNeedSve extends AppServiceBase {
"actionType": pobj.action_type, "actionType": pobj.action_type,
"actionBody": pobj "actionBody": pobj
} }
var rtn = rtn = await this.execlient.execDataPostByTokenUserPin(sobj, url, token, userpin); var rtn = await this.execlient.execDataPostByTokenUserPin(sobj, url, token, userpin);
if (!rtn || !rtn.stdout) { if (!rtn || !rtn.stdout) {
return { return {
"requestId": self.getUUID(), "requestId": self.getUUID(),
......
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