|
@@ -52,6 +52,9 @@ class merchant_refillControl extends mbMerchantControl
|
|
|
if (empty($merchant_info)) {
|
|
|
return self::outerr(errcode::ErrMemberNotExist, "用户不存在.");
|
|
|
}
|
|
|
+ if($merchant_info['manual_recharge'] != 1) {
|
|
|
+ return self::outerr(errcode::ErrParamter, "手动充值业务已被关闭,请联系管理员。");
|
|
|
+ }
|
|
|
|
|
|
$amount = intval($params['amount']);
|
|
|
$card_nos = trim($params['cardno']);
|