Commit 23fd0b20 by 王昆

gsb

parent c4a71475
......@@ -51,7 +51,7 @@ class ChannelCtl extends CtlBase {
totalNum = params.ids.length;
totalPrice = system.f2y(totalPrice);
let info = await this.merchantSve.info({id: params.saas_merchant_id}) || {};
let info = await this.merchantSve.signInfo({id: params.saas_merchant_id}) || {};
info = info.data || {};
let main = info.main || {};
let result = {
......
......@@ -26,7 +26,6 @@ class MerchantService extends ServiceBase {
if(rs.data && rs.data.sign) {
this.transSignFields([rs.data.sign]);
await this.setChannel([rs.data]);
await this.setMain([rs.data]);
}
return rs;
}
......@@ -55,6 +54,7 @@ class MerchantService extends ServiceBase {
var rs = await this.callms("merchant", "mchtSignInfo", params);
if(rs.data) {
this.transSignFields([rs.data]);
await this.setMain([rs.data]);
}
return rs;
}
......
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