后台:json上传
This commit is contained in:
23
game-server/app/servers/guild/remote/guildRemote.ts
Normal file
23
game-server/app/servers/guild/remote/guildRemote.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { Application, ChannelService } from 'pinus';
|
||||
import { reloadResources } from '../../../pubUtils/data';
|
||||
|
||||
export default function (app: Application) {
|
||||
return new GuildRemote(app);
|
||||
}
|
||||
|
||||
export class GuildRemote {
|
||||
|
||||
constructor(private app: Application) {
|
||||
this.app = app;
|
||||
this.channelService = app.get('channelService');
|
||||
}
|
||||
|
||||
private channelService: ChannelService;
|
||||
|
||||
/**
|
||||
* 重载json资源
|
||||
*/
|
||||
public async reloadResources() {
|
||||
reloadResources();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user