Commit 3a987af0 by 蒋勇

add header appcode

parent 2df88750
......@@ -31,9 +31,21 @@ class UtilsDeliverSystemService extends AppServiceBase {
// },
// requestId: pobj.requestId || "" // N 请求id
// }
let parms = {
actionType:interface_params_info.actionType,
actionBody: pobj.actionBody
let params=null
let headInfo={}
if(req.appInfo){
headInfo["appcode"]=req.appInfo.app_code
parms = {
actionType:interface_params_info.actionType,
actionBody: pobj.actionBody,
headData:headInfo
}
}else{
parms = {
actionType:interface_params_info.actionType,
actionBody: pobj.actionBody
}
}
let url = interface_params_info.opUrl;
var opQueuePushClientPostRes = await this.opQueuePushClientPost(pobj, url, parms);
......
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