|
|
|
@ -159,6 +159,12 @@ class LanzuCsWithdrawController extends AdminController |
|
|
|
$model->save(); |
|
|
|
|
|
|
|
} else { |
|
|
|
//提现失败,退回提现金额
|
|
|
|
LanzuUserBalance::returnBalance($form->model()->cs_id, 3, $form->model()->money); |
|
|
|
|
|
|
|
//更改提现状态为-2 提现失败
|
|
|
|
\App\Models\LanzuCsWithdraw::updateStatus($form->id,-2); |
|
|
|
|
|
|
|
//记录失败日志
|
|
|
|
Log::error('提现失败.', $res); |
|
|
|
return $form->error($res['err_code_des']); |
|
|
|
|