|
|
@ -60,8 +60,8 @@ public class ApiAppletAmountController { |
|
|
if (appletAmountLog.getUserId() == null) { |
|
|
if (appletAmountLog.getUserId() == null) { |
|
|
return AjaxResult.error("用户ID不能为空"); |
|
|
return AjaxResult.error("用户ID不能为空"); |
|
|
} |
|
|
} |
|
|
if (appletAmountLog.getAmount() == null || appletAmountLog.getAmount().compareTo(BigDecimal.ZERO) <= 0) { |
|
|
|
|
|
return AjaxResult.error("提现金额必须大于0"); |
|
|
|
|
|
|
|
|
if (appletAmountLog.getAmount() == null || appletAmountLog.getAmount().compareTo(new BigDecimal("0.4")) <= 0) { |
|
|
|
|
|
return AjaxResult.error("提现金额必须大于0.3"); |
|
|
} |
|
|
} |
|
|
if (StringUtils.isEmpty(appletAmountLog.getNameValue())) { |
|
|
if (StringUtils.isEmpty(appletAmountLog.getNameValue())) { |
|
|
return AjaxResult.error("姓名不能为空"); |
|
|
return AjaxResult.error("姓名不能为空"); |
|
|
|