测试:debug获取数据接口
This commit is contained in:
@@ -105,7 +105,7 @@ export async function pushData(hasInit: boolean, role: RoleType, session: Fronte
|
||||
}
|
||||
}
|
||||
|
||||
async function getModuleData(type: string, data: { role: RoleType, session: FrontendOrBackendSession }, guildData: { hasGuild: boolean, guild?: GuildType, userGuild?: UserGuildType, guildResult?: any } = { hasGuild: false }) {
|
||||
export async function getModuleData(type: string, data: { role: RoleType, session: FrontendOrBackendSession }, guildData: { hasGuild: boolean, guild?: GuildType, userGuild?: UserGuildType, guildResult?: any } = { hasGuild: false }) {
|
||||
let { role, session } = data;
|
||||
const { roleId, serverId, roleName, guildCode } = role;
|
||||
let { hasGuild, guild, userGuild, guildResult } = guildData;
|
||||
|
||||
Reference in New Issue
Block a user