添加测试角色接口; 优化初始化数据的返回

This commit is contained in:
liangtongchuan
2020-09-02 15:38:27 +08:00
parent dbdb11692c
commit 2298f36f02
7 changed files with 127 additions and 26 deletions
@@ -0,0 +1,13 @@
import { Application, ChannelService, FrontendSession, RemoterClass } from 'pinus';
export default function (app: Application) {
return new RoleRemote(app);
}
export class RoleRemote {
constructor(private app: Application) {
this.app = app;
this.channelService = app.get('channelService');
}
}