调整一下pushData顺序
This commit is contained in:
@@ -46,10 +46,11 @@ export async function pushData(role: RoleType, session: FrontendOrBackendSession
|
||||
pushEntryStart(roleId, sid);
|
||||
// 军团
|
||||
const guildData = await getGuildEntryData(role, sid, session);
|
||||
let modules = ['shop', 'rank', 'mail', 'friend', 'daily', 'expedition', 'tower', 'comBattle', 'dungeon', 'pvp', 'gacha', 'school', 'task', 'chat', 'event', 'battle', 'guild'];
|
||||
let modules = ['battle', 'rank', 'mail', 'friend', 'daily', 'expedition', 'tower', 'comBattle', 'dungeon', 'pvp', 'gacha', 'school', 'task', 'chat', 'event', 'guild'];
|
||||
if (guildData.hasGuild) {
|
||||
modules.push('auction', 'train', 'boss', 'wishPool', 'guildActivity', 'donate');
|
||||
}
|
||||
modules.push('shop')
|
||||
let notIncludeModule: string[] = [];
|
||||
if (pushType == 'refresh') { // 每天5点刷新的时候不推送
|
||||
notIncludeModule = ['rank', 'mail', 'school', 'auction', 'train', 'chat', 'battle'];
|
||||
|
||||
Reference in New Issue
Block a user