master
yulingwei 4 years ago
parent 0a9e7ed3ef
commit 1c633e60cb

@ -488,11 +488,11 @@ class PresidentDepositController extends ThinkController
$data['update_time'] = time();
$data['status'] = 1;
$data['pay_accept_time'] = $data['refund_time'] = 0;
$data['promote_id'] = $promoteId;
if (!$record) {
M('president_deposit', 'tab_')->add($data);
} else {
$data['promote_id'] = $promoteId;
M('president_deposit', 'tab_')->where(['promote_id' => $promoteId])->save($data);
}

Loading…
Cancel
Save