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

调整实体服务导入

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