Mp server test See merge request quanshu/mp-server!278
@@ -72,7 +72,7 @@ public class UserExchangeOrderServiceImpl extends ServiceImpl<UserExchangeOrderM
}
// 盲豆余额校验
UserCoin userCoin = userCoinService.getById(userId);
- if (null == userCoin.getCoin() || userCoin.getCoin() < orderAmt) {
+ if (null == userCoin || null == userCoin.getCoin() || userCoin.getCoin() < orderAmt) {
return false;