红点:修复练兵场
This commit is contained in:
@@ -72,7 +72,6 @@ export async function pushData(role: RoleType, session: FrontendOrBackendSession
|
||||
let { role, session } = data;
|
||||
const { roleId, serverId, roleName, guildCode } = role;
|
||||
let { hasGuild, guild, userGuild, guildResult } = guildData;
|
||||
console.log('*********', type)
|
||||
switch(type) {
|
||||
case 'shop': // 商店
|
||||
return await getAllShopList(roleId);
|
||||
@@ -198,7 +197,7 @@ async function getPvpEntryData(roleId: string) {
|
||||
async function getGuildEntryData(role: RoleType, sid: string, session: FrontendOrBackendSession) {
|
||||
|
||||
if (role.hasGuild) {
|
||||
let userGuild = await getUserGuildWithRefActive(role.roleId, 'job auth guildCode receivedActive activeRecord activeDaily activeWeekly wishDntCnt wishGoods');
|
||||
let userGuild = await getUserGuildWithRefActive(role.roleId);
|
||||
if (userGuild) {
|
||||
let guild = await getGuildWithRefActive(userGuild.guildCode, role.serverId);
|
||||
if (guild) {
|
||||
|
||||
Reference in New Issue
Block a user