Commit 28c1fc2e by 孙亚楠

d

parent 8d037cea
...@@ -57,6 +57,23 @@ class ChannelCtl extends CtlBase { ...@@ -57,6 +57,23 @@ class ChannelCtl extends CtlBase {
return system.getResult(null, `系统错误 错误信息 ${error}`); return system.getResult(null, `系统错误 错误信息 ${error}`);
} }
} }
/**
* fn:查询产品
* @param pobj
* @param pobj2
* @param req
* @returns {Promise<{msg: *, data: *, status: *}|{msg: *, data, bizmsg: *|string, status: number}>}
*/
async orderChooseProducts(pobj, pobj2, req) {
//TODO: 绑定渠道商品信息
try {
return system.getResult([{"id":"10020300","name":"刻章办理"},{"id":"10020400","name":"银行开户"},{"id":"10020500","name":"刻章办理"},{"id":"10020600","name":"代理记账"}]);
} catch (e) {
console.log(e);
return system.getResultFail(500, "接口错误");
}
}
} }
module.exports = ChannelCtl; module.exports = ChannelCtl;
\ No newline at end of file
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