|
@@ -66,7 +66,7 @@ public class SysTenantAccountController extends BaseController {
|
|
|
if (sysUser == null) {
|
|
|
return failed(HttpStatus.FORBIDDEN, "请登录");
|
|
|
}
|
|
|
- if (minutes == null || minutes < 0) {
|
|
|
+ if (minutes == null || minutes <= 0) {
|
|
|
return failed("充值分钟数必须大于0");
|
|
|
}
|
|
|
if (memo == null || memo.isEmpty()) {
|
|
@@ -87,7 +87,7 @@ public class SysTenantAccountController extends BaseController {
|
|
|
if (sysUser == null) {
|
|
|
return failed(HttpStatus.FORBIDDEN, "请登录");
|
|
|
}
|
|
|
- if (minutes == null || minutes < 0) {
|
|
|
+ if (minutes == null || minutes <= 0) {
|
|
|
return failed("扣除分钟数必须大于0");
|
|
|
}
|
|
|
if (memo == null || memo.isEmpty()) {
|