公告后台

This commit is contained in:
luying
2021-07-01 20:54:11 +08:00
parent 9cf142d95b
commit 3daf738655
4 changed files with 12 additions and 6 deletions

View File

@@ -79,7 +79,7 @@ export class ShopHandler {
}
let goods = await addItems(roleId, roleName, sid, taskReward);
if (expItem) {
if(expItem && expItem.count > 0) {
await roleLevelup(roleId, expItem.count, session);
goods.push(expItem);
}