Commit 67364f2a by 宋毅

tj

parent 525e9cdb
...@@ -4,7 +4,7 @@ var settings = require("../../../../config/settings"); ...@@ -4,7 +4,7 @@ var settings = require("../../../../config/settings");
class FgbusinesschanceAPI extends APIBase { class FgbusinesschanceAPI extends APIBase {
constructor() { constructor() {
super(); super();
this.orderinfoSve = system.getObject("service.dbcorder.fgbusinesschanceSve"); this.fgbusinesschanceSve = system.getObject("service.dbcorder.fgbusinesschanceSve");
} }
/** /**
* 接口跳转-POST请求 * 接口跳转-POST请求
...@@ -23,7 +23,7 @@ class FgbusinesschanceAPI extends APIBase { ...@@ -23,7 +23,7 @@ class FgbusinesschanceAPI extends APIBase {
var opResult = null; var opResult = null;
switch (action_type) { switch (action_type) {
case "create": //创建复购商机 case "create": //创建复购商机
opResult = await this.orderinfoSve.create(pobj, pobj.actionBody); opResult = await this.fgbusinesschanceSve.create(pobj, pobj.actionBody);
break; break;
// case "getInfo": //获取商机 // case "getInfo": //获取商机
// opResult = await this.orderinfoSve.getInfo(pobj, pobj.actionBody); // opResult = await this.orderinfoSve.getInfo(pobj, 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