withdrawModel))->withdrawPay(); return $result == true ? $this->successJson('打款成功') : $this->errorJson('打款失败,请刷新重试'); } public function validatorWithdrawModel($withdrawModel) { if ($withdrawModel->status != Withdraw::STATUS_AUDIT) { throw new ShopException('状态错误,不符合打款规则!'); } } }