活动:支付添加错误码返回

This commit is contained in:
qiaoxin
2021-05-29 15:18:22 +08:00
parent 7049b7e44d
commit 6aaaa391f2
12 changed files with 72 additions and 38 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ export default class Activity_Pop_Up_Shop extends BaseModel {
@prop({ required: true })
isBuy: boolean; // 是否购买
//购买奖励的记录
//购买记录
public static async addRecord(serverId: number, activityId: number, roleId: string, id: number) {
let nowDate = new Date();
let result: ActivityPopUpShopModelType = await ActivityPopUpShopModel.findOneAndUpdate({