|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|