数数:消耗来源
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ACTIVITY_TYPE, STATUS } from '../../consts';
|
||||
import { ACTIVITY_TYPE, ITEM_CHANGE_REASON, STATUS } from '../../consts';
|
||||
import { ActivityModel, ActivityModelType } from '../../db/Activity';
|
||||
import { RoleModel } from '../../db/Role';
|
||||
import { ServerlistModel } from '../../db/Serverlist';
|
||||
@@ -88,7 +88,7 @@ export async function makeYuanbaoShopReward(roleId: string, roleName: string, si
|
||||
}
|
||||
}
|
||||
|
||||
let result = await addReward(roleId, roleName, sid, serverId, arr)
|
||||
let result = await addReward(roleId, roleName, sid, serverId, arr, ITEM_CHANGE_REASON.YUANBAO_SHOP_BUY)
|
||||
item.buyCount += 1;
|
||||
return {
|
||||
code: 0,
|
||||
|
||||
Reference in New Issue
Block a user