Commit 75b53a9f by 陈思聪

fix: 调整请求云服接口后的数据结构

parent cbc490d0
......@@ -87,6 +87,7 @@ class UtilsFqAliyunService extends AppServiceBase {
let result = null;
if (interface_params_info.isNewReq && interface_params_info.isNewReq == 1) {
result = await this.execPostByHeadDataTimeOut(pobj.actionBody, interface_params_info.opUrl, null, {"X-Gsb-Ua-AppKey": settings.fqReqToken()})
result = system.getResultSuccess(JSON.parse(result.stdout), "推送成功");
} else {
result = await this.opAliyunClientPost(pobj, interface_params_info.opUrl, interface_params_info.key, interface_params_info.secret, pobj.actionBody);
}
......
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