const system = require("../../../system");
const ServiceBase = require("../../sve.base");
const settings = require("../../../../config/settings");
class TemplateinfoService extends ServiceBase {
  constructor() {
    super("common", ServiceBase.getDaoName(TemplateinfoService));
  }
  
  async createTemplate(pobj){
    var ab = pobj.actionBody;
    var code = await this.getBusUid("tp");
    var name = "营销模板";
    ab.code = code;
    ab.name = name;
    return this.create(ab);
  }
}
module.exports = TemplateinfoService;