Commit 6ea85cfd by 庄冰

aaa

parent 94a36ef4
...@@ -18,6 +18,12 @@ class LaunchchannelCtl extends CtlBase { ...@@ -18,6 +18,12 @@ class LaunchchannelCtl extends CtlBase {
return result; return result;
} }
async refQuery(pobj, qobj, req) {
pobj.refwhere.company_id = pobj.company_id;
let rtn = await this.service.refQuery(pobj);
return rtn
}
} }
module.exports = LaunchchannelCtl; module.exports = LaunchchannelCtl;
...@@ -7,6 +7,12 @@ class LaunchtypeCtl extends CtlBase { ...@@ -7,6 +7,12 @@ class LaunchtypeCtl extends CtlBase {
constructor() { constructor() {
super("launchtypemag", CtlBase.getServiceName(LaunchtypeCtl)); super("launchtypemag", CtlBase.getServiceName(LaunchtypeCtl));
} }
async refQuery(pobj, qobj, req) {
pobj.refwhere.company_id = pobj.company_id;
let rtn = await this.service.refQuery(pobj);
return rtn
}
} }
module.exports = LaunchtypeCtl; module.exports = LaunchtypeCtl;
...@@ -11,5 +11,11 @@ class MainInfoCtl extends CtlBase { ...@@ -11,5 +11,11 @@ class MainInfoCtl extends CtlBase {
const up = await this.service.create(pobj); const up = await this.service.create(pobj);
return up; return up;
} }
async refQuery(pobj, qobj, req) {
pobj.refwhere.company_id = pobj.company_id;
let rtn = await this.service.refQuery(pobj);
return rtn
}
} }
module.exports = MainInfoCtl; module.exports = MainInfoCtl;
...@@ -145,7 +145,7 @@ class TemplatelinkService extends ServiceBase { ...@@ -145,7 +145,7 @@ class TemplatelinkService extends ServiceBase {
* @param {*} pobj * @param {*} pobj
*/ */
async createTemplateLink(pobj){ async createTemplateLink(pobj){
var ab = pobj.actionBody; var ab = pobj;
var xctx = pobj.xctx; var xctx = pobj.xctx;
if(!ab){ if(!ab){
return system.getResultFail(-100,"参数错误"); return system.getResultFail(-100,"参数错误");
......
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