|
@@ -624,7 +624,7 @@ class merchantControl extends SystemControl
|
|
|
$input['admin_name'] = $admininfo['name'];
|
|
|
$input['admin_id'] = $admininfo['id'];
|
|
|
$input['add_type'] = $params['add_type'];
|
|
|
- $input['receive_bank'] = $params['receive_bank'];
|
|
|
+ $input['receive_bank'] = $params['receive_bank'] ?? 0;
|
|
|
if($params['type'] == 'add') {
|
|
|
$input['is_bank'] = 1;
|
|
|
}
|
|
@@ -652,6 +652,7 @@ class merchantControl extends SystemControl
|
|
|
}
|
|
|
$apply_id = intval($_POST['apply_id']);
|
|
|
$model_merchant = Model('merchant');
|
|
|
+ $receive_bank = $_POST['receive_bank'] ?? 0;
|
|
|
$evidence_info = $model_merchant->getRefillEvidenceInfo(['apply_id' => $apply_id], '*');
|
|
|
if (!is_array($evidence_info) || count($evidence_info) <= 0) {
|
|
|
showMessage("无效的充值申请信息", "index.php?act=merchant&op=recharge&apply_id={$apply_id}", '', 'error');
|
|
@@ -715,7 +716,7 @@ class merchantControl extends SystemControl
|
|
|
[
|
|
|
'is_operation' => 2, 'after_available' => $after_available,
|
|
|
'admin_id' => $admininfo['id'], 'admin_name' => $admininfo['name'],
|
|
|
- 'receive_bank' => $_POST['receive_bank']
|
|
|
+ 'receive_bank' => $receive_bank
|
|
|
]
|
|
|
);
|
|
|
$trans->commit();
|