16 lines
473 B
TypeScript
16 lines
473 B
TypeScript
import { Application, ChannelService, FrontendSession, RemoterClass } from 'pinus';
|
|
import { STATUS } from '../../../consts/statusCode';
|
|
import { resResult } from '../../../pubUtils/util';
|
|
export default function (app: Application) {
|
|
return new RoleRemote(app);
|
|
}
|
|
|
|
export class RoleRemote {
|
|
|
|
constructor(private app: Application) {
|
|
this.app = app;
|
|
this.channelService = app.get('channelService');
|
|
}
|
|
private channelService: ChannelService;
|
|
}
|