提交 020b520e 编写于 作者: tony001's avatar tony001

消息服务初始化基础参数

上级 2d6c6bea
......@@ -20,4 +20,21 @@ export default class ${srfclassname('${item.getCodeName()}')}MessageServiceBase
super(opts);
}
/**
* 初始化基础参数
*
* @memberof ${srfclassname('${item.getCodeName()}')}MessageServiceBase
*/
public initBasicParam(){
this.id = "${item.getId()}";
this.name = "${item.getName()}";
this.codename = "<#if item.getCodeName()??>${item.getCodeName()}</#if>";
this.tilte = "<#if item.getTitle()??>${item.getTitle()}</#if>";
this.content = "<#if item.getTitle()??>${item.getTitle()}</#if>";
this.closeMode = "";
this.position = "<#if item.getPosition()??>${item.getPosition()}</#if>";
this.type = "${item.getMessageType()}";
this.isdefault = true;
}
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册