Commit 58c645f6 by linboxuan

Merge branch 'igirl-channel-gateway' of…

Merge branch 'igirl-channel-gateway' of http://gitlab.gongsibao.com/jiangyong/zhichan into igirl-channel-gateway
parents 9f0b513c 0eca6a19
......@@ -6,7 +6,9 @@ class TradetransferAPI extends APIBase {
constructor() {
super();
this.execlient = system.getObject("util.execClient");
this.utilsNeedSve = system.getObject("service.utilsSve.utilsNeedSve");
this.channelApiUrl = settings.channelApiUrl();
this.centerChannelUrl = settings.centerChannelUrl();
this.appInfo = {
aliyuntmtransfer: { appkey: settings.appKey, secret: settings.secret }
};
......@@ -191,5 +193,16 @@ class TradetransferAPI extends APIBase {
return rtn;
}
//查询咨询客户列表
async queryTradeIntentionUserList(p,obj) {
let sobj = {
"actionType": "QueryTradeIntentionUserList",
};
let tokenInfo = await this.utilsNeedSve.getCenterToken();
let url = this.centerChannelUrl + "/web/trade/brand/springBoard";
return await this.execlient.execPostTK(sobj, url, tokenInfo.data.token);
}
}
module.exports = TradetransferAPI;
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