提交 7e410b22 编写于 作者: tony001's avatar tony001

调整实体服务导入

上级 77b1656a
......@@ -10,7 +10,7 @@ import {${srfclassname('${item.getCodeName()}')}LogicBase} from './${srffilepath
* @export
* @class ${srfclassname('${item.getCodeName()}')}Logic
*/
export default class ${srfclassname('${item.getCodeName()}')}Logic extends ${srfclassname('${item.getCodeName()}')}LogicBase{
export class ${srfclassname('${item.getCodeName()}')}Logic extends ${srfclassname('${item.getCodeName()}')}LogicBase{
/**
* Creates an instance of ${srfclassname('${item.getCodeName()}')}Logic
......@@ -23,3 +23,6 @@ export default class ${srfclassname('${item.getCodeName()}')}Logic extends ${srf
}
}
// 默认导出
export default ${srfclassname('${item.getCodeName()}')}Logic;
......@@ -12,7 +12,7 @@ import {${srfclassname('${item.getCodeName()}')}ServiceBase} from './${srffilepa
* @class ${srfclassname('${item.getCodeName()}')}Service
* @extends {${srfclassname('${item.getCodeName()}')}ServiceBase}
*/
export default class ${srfclassname('${item.getCodeName()}')}Service extends ${srfclassname('${item.getCodeName()}')}ServiceBase {
export class ${srfclassname('${item.getCodeName()}')}Service extends ${srfclassname('${item.getCodeName()}')}ServiceBase {
/**
* Creates an instance of ${srfclassname('${item.getCodeName()}')}Service.
......@@ -24,5 +24,6 @@ export default class ${srfclassname('${item.getCodeName()}')}Service extends ${s
super(opts);
}
}
// 默认导出
export default class ${srfclassname('${item.getCodeName()}')}Service;
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册