Commit fa73942b by zhaoxiqing

gsb

parent a910a82a
...@@ -14,7 +14,6 @@ class ChannelApi { ...@@ -14,7 +14,6 @@ class ChannelApi {
this.FQURL = settings.FQYF().pushOrderApi; this.FQURL = settings.FQYF().pushOrderApi;
this.pushfqlogSve = system.getObject("service.pushfqlogSve") this.pushfqlogSve = system.getObject("service.pushfqlogSve")
this.esettleofflineSve = system.getObject("service.esettleofflineSve") this.esettleofflineSve = system.getObject("service.esettleofflineSve")
this.channelService = system.getObject("service.ChannelSve")
} }
//渠道绑定 //渠道绑定
...@@ -143,7 +142,7 @@ class ChannelApi { ...@@ -143,7 +142,7 @@ class ChannelApi {
return system.getResultFail(-1, "contact_addr不能为空"); return system.getResultFail(-1, "contact_addr不能为空");
} }
var da = await this.channelService.channelSave(queryobj) var da = await this.channelSve.channelSave(queryobj)
if (da.data) { if (da.data) {
var bind = { var bind = {
platform_id: queryobj.platform_id, platform_id: queryobj.platform_id,
...@@ -193,7 +192,7 @@ class ChannelApi { ...@@ -193,7 +192,7 @@ class ChannelApi {
} }
} }
queryobj.origin_id = 10000; queryobj.origin_id = 10000;
return await this.channelService.merchantSaves(queryobj); return await this.channelSve.merchantSaves(queryobj);
} catch (e) { } catch (e) {
console.log(e); console.log(e);
return system.getResultFail(500, "接口错误"); return system.getResultFail(500, "接口错误");
......
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