✨ feat(好友切磋): a7befab5f到f5146b93d
This commit is contained in:
@@ -31,6 +31,7 @@ import { getSchoolPoint } from "../../../services/roleService";
|
||||
import { LadderMatchModel } from "../../../db/LadderMatch";
|
||||
import { ArtifactModel } from "../../../db/Artifact";
|
||||
import { AuthorBookModel } from "../../../db/AuthorBook";
|
||||
import { getIsExistLadderDefense } from "../../../services/ladderService";
|
||||
|
||||
|
||||
export default function (app: Application) {
|
||||
@@ -678,7 +679,7 @@ export class FriendHandler {
|
||||
let { serverId } = role;
|
||||
let serverName = await getServerName(serverId);
|
||||
param.setServerName(serverId, serverName);
|
||||
return resResult(STATUS.SUCCESS, {...param, isRobot });
|
||||
return resResult(STATUS.SUCCESS, {...param, isRobot, isExistLadderDefense: await getIsExistLadderDefense(targetRoleId) });
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user