调整弹出礼包展示字段
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user