后台:json上传

This commit is contained in:
luying
2021-05-12 17:57:25 +08:00
parent 2fc5017af8
commit 148a11edab
102 changed files with 1675 additions and 1117 deletions

View File

@@ -1,4 +1,5 @@
import { Application, ChannelService, FrontendSession, RemoterClass } from 'pinus';
import { reloadResources } from '../../../pubUtils/data';
export default function (app: Application) {
return new BattleRemote(app);
@@ -69,4 +70,11 @@ export class BattleRemote {
channel.leave(uid, sid);
}
}
/**
* 重载json资源
*/
public async reloadResources() {
reloadResources();
}
}