Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -37,6 +37,9 @@ public class LoginService {
|
||||
@Autowired
|
||||
private TbShopUserMapper tbShopUserMapper;
|
||||
|
||||
@Autowired
|
||||
private TbActivateInRecordMapper inRecordMapper;
|
||||
|
||||
@Autowired
|
||||
private TbShopTableMapper tbShopTableMapper;
|
||||
|
||||
@@ -498,6 +501,9 @@ public class LoginService {
|
||||
if (tbUserInfo == null) {
|
||||
return Result.success(CodeEnum.ENCRYPT, new ArrayList());
|
||||
}
|
||||
tbUserInfo.setBalanceAll(tbShopUserMapper.countAmount(userId));
|
||||
tbUserInfo.setCouponAll(inRecordMapper.countCouponNum(userId));
|
||||
|
||||
return Result.success(CodeEnum.ENCRYPT, tbUserInfo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user