admin 不给分享奖励
This commit is contained in:
parent
fde0d80a16
commit
b5e8d2514b
|
|
@ -165,7 +165,7 @@ public class InviteServiceImpl extends ServiceImpl<InviteDao, Invite> implements
|
|||
|
||||
// 金币
|
||||
int money = Integer.parseInt(commonInfoService.findOne(911).getValue());
|
||||
if (money > 0) {
|
||||
if (money > 0 && userEntity.getUserId() != 1) {
|
||||
userMoneyService.updateMoney(1, userEntity.getUserId(), money);
|
||||
UserMoneyDetails userMoneyDetails = new UserMoneyDetails();
|
||||
userMoneyDetails.setUserId(userEntity.getUserId());
|
||||
|
|
|
|||
Loading…
Reference in New Issue