|
|
@@ -590,6 +590,7 @@ public class WxUserStructureController extends BaseController { |
|
|
logger.error(ErrorCode.USER_IS_EMPTY.getMessage()); |
|
|
logger.error(ErrorCode.USER_IS_EMPTY.getMessage()); |
|
|
return new ResultData(ErrorCode.USER_IS_EMPTY); |
|
|
return new ResultData(ErrorCode.USER_IS_EMPTY); |
|
|
} |
|
|
} |
|
|
|
|
|
info.setPoins(info.getPoins() == null ? 0 : info.getPoins()); |
|
|
if(info.getPoins() < score) { |
|
|
if(info.getPoins() < score) { |
|
|
logger.error(ErrorCode.MEM_SCORE_NOT_ENOUGH.getMessage()); |
|
|
logger.error(ErrorCode.MEM_SCORE_NOT_ENOUGH.getMessage()); |
|
|
return new ResultData(ErrorCode.MEM_SCORE_NOT_ENOUGH); |
|
|
return new ResultData(ErrorCode.MEM_SCORE_NOT_ENOUGH); |
|
|
|