调整弹出礼包展示字段

This commit is contained in:
liangtongchuan
2022-07-28 15:59:22 +08:00
parent 20de6959f0
commit 7774724a7a
3 changed files with 13 additions and 13 deletions

View File

@@ -109,12 +109,10 @@ export class PopUpShopHandler {
}
// 客户端展示弹出礼包的通知
async showGift(msg: { activityId: number, code: string, id: number }, session: BackendSession) {
const { activityId, code, id } = msg;
const roleId = session.get('roleId');
const serverId = session.get('serverId');
async showGift(msg: { code: string }, session: BackendSession) {
const { code } = msg;
let rec = await ActivityPopUpShopModel.show(serverId, activityId, roleId, code, id);
let rec = await ActivityPopUpShopModel.show(code);
if (!rec) return resResult(STATUS.ACTIVITY_MISSING);
return resResult(STATUS.SUCCESS);
}