dataLists(new WithdrawLists()); } /** * @notes 详情 * @return \think\response\Json * @author cjhao * @date 2024/10/31 16:27 */ public function detail() { $id = $this->request->get('id'); $detail = (new WithdrawLogic())->detail($id); return $this->success('',$detail); } /** * @notes 审核 * @return \think\response\Json * @author cjhao * @date 2024/10/31 16:35 */ public function audit() { $params = $this->request->post(); $result = (new WithdrawLogic())->audit($params); if(true === $result){ return $this->success('操作成功',[],1,1); } return $this->fail($result); } /** * @notes 转账 * @return \think\response\Json * @author cjhao * @date 2024/10/31 17:46 */ public function transfer() { $params = $this->request->post(); $result = (new WithdrawLogic())->transfer($params); if(true === $result){ return $this->success('操作成功',[],1,1); } return $this->fail($result); } }