|
|
@ -57,7 +57,7 @@ class Withdraw extends Controller |
|
|
|
// 提交提现申请 |
|
|
|
// 提交提现申请 |
|
|
|
$model = new WithdrawModel; |
|
|
|
$model = new WithdrawModel; |
|
|
|
$data = $this->request->post(); |
|
|
|
$data = $this->request->post(); |
|
|
|
if ($model->submit($dealer, $data['from'])) { |
|
|
|
if ($model->submit($dealer, $data['form'])) { |
|
|
|
return $this->renderSuccess([], '提现申请已提交成功,请等待审核'); |
|
|
|
return $this->renderSuccess([], '提现申请已提交成功,请等待审核'); |
|
|
|
} |
|
|
|
} |
|
|
|
return $this->renderError($model->getError() ?: '提交失败'); |
|
|
|
return $this->renderError($model->getError() ?: '提交失败'); |
|
|
|