|
|
@ -345,7 +345,7 @@ class PaymentService extends AbstractService
|
|
|
|
if (!is_numeric($reqData['amount'])) {
|
|
|
|
if (!is_numeric($reqData['amount'])) {
|
|
|
|
throw new BusinessException('请输入金额');
|
|
|
|
throw new BusinessException('请输入金额');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ($reqData['amount'] <= 100 || $reqData['amount'] > 300000) {
|
|
|
|
if ($reqData['amount'] < 100 || $reqData['amount'] > 300000) {
|
|
|
|
throw new BusinessException('充值金额必须为100~300000');
|
|
|
|
throw new BusinessException('充值金额必须为100~300000');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|