Commit c4e4f0b5 by 庄冰

aaa

parent 988a8dc9
......@@ -7,8 +7,8 @@ class ForminfoService extends ServiceBase {
super("configmag", ServiceBase.getDaoName(ForminfoService));
this.templateinfoDao = system.getObject("db.template.templateinfoDao");
this.templatelinkDao = system.getObject("db.template.templatelinkDao");
this.forminfoDao = system.getObject("db.form.forminfoDao");
this.formitemDao = system.getObject("db.form.formitemDao");
this.forminfoDao = system.getObject("db.configmag.forminfoDao");
this.formitemDao = system.getObject("db.configmag.formitemDao");
}
/**
......
......@@ -8,7 +8,27 @@ class TemplatelinkService extends ServiceBase {
this.templateinfoDao = system.getObject("db.template.templateinfoDao");
this.browsingrecordsDao = system.getObject("db.template.browsingrecordsDao");
}
/**
* 获取模板链接配置参数
* @param {*} pobj
*/
async getLinkConfigParams(pobj){
var ab = pobj.actionBody;
var xctx = pobj.xctx;
var res = {};
if(!ab){
return system.getResultFail(-100,"参数错误");
}
//渠道主体
//业务参数
//投放方式
//营销主体
return system.getResultSuccess(res);
}
/**
* 链接列表
* @param {*} obj
*/
async findAndCountAll(obj){
var res = await this.dao.findAndCountAll(obj);
return system.getResultSuccess(res);
......
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