修改:协议和配置表

This commit is contained in:
chen wei bo
2025-09-08 15:11:11 +08:00
parent 5821bc17ae
commit 826e52d019
47 changed files with 12826 additions and 4127 deletions
@@ -10,7 +10,7 @@ export class MockThemeService implements IThemeService {
return ({ code: proto.cs.EnmRetCode.SUCCESS, data } as unknown) as ApiResponse<T>;
}
private makeTheme(id: number, key: string, name: string, category: number, isRelease: boolean, path: string): proto.cs.IHallTheme {
private makeTheme(id: number, key: string, name: string, category: number, isRelease: boolean, path: string): proto.cs.IThemes {
return {
id,
key,
@@ -28,7 +28,7 @@ export class MockThemeService implements IThemeService {
const configData = ConfigManager.I.getDataById<ThemeConfig>(ConfigId.Theme);
const allId = configData.getAllId();
let themes: proto.cs.IHallTheme[] = [];
let themes: proto.cs.IThemes[] = [];
for (let oneId of allId) {
let key = configData.getLanKeyById(oneId);
let name = configData.getNameById(oneId);