Commit 8da69373 by 王悦

推送峰擎 token报错

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