request->params([ ['member_id', ''], ['status', ''], ['transfer_type', ''], ['create_time', []], ['audit_time', []], ['transfer_time', []], ['cash_out_no', ''], ['keywords', ''] ]); return success((new MemberCashOutService())->getPage($data)); } /** * 提现详情 * @param int $id * @return Response */ public function info(int $id) { return success((new MemberCashOutService())->getInfo($id)); } public function audit($id, $action) { $data = $this->request->params([ ['refuse_reason', ''], ]); (new MemberCashOutService())->audit($id, $action, $data); return success(); } /** * 转账方式 * @return Response */ public function getTransferType() { return success(TransferDict::getTransferType([], false)); } /** * 转账方式 * @param $id * @return Response */ public function transfer($id) { $data = $this->request->params([ ['transfer_voucher', ''], ['transfer_remark', ''], ['transfer_type', ''] ]); (new MemberCashOutService())->transfer($id, $data); return success(); } /** * 状态 * @return Response */ public function getStatusList() { return success(MemberCashOutDict::getStatus()); } /** * 统计数据 */ public function stat() { return success((new MemberCashOutService())->stat()); } }