yangsai@163.com 8 months ago
parent 3f3c00178e
commit 9b275bf6b4
  1. 2
      app/api/controller/dealer/Withdraw.php

@ -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() ?: '提交失败');

Loading…
Cancel
Save