dataLists(new GroupUserOrderLists()); } /** * @notes 用户订单退款 */ public function refundOrder() { $params = $this->request->request('id'); $result = GroupUserOrderLogic::refundOrder($params); if (true === $result) { return $this->success('退款成功', [], 1, 1); } return $this->fail(GroupUserOrderLogic::getError()); } public function download() { $params = $this->request->post(); $filename = "用户拼团订单列表"; $result = ExportLogic::add([ 'download_type' => 11, 'params' => $params, 'name' => $filename, 'admin_id' => $this->adminId, ]); if (false === $result) { return $this->fail(ExportLogic::getError()); } (new ExcelExportService)->download($result); return $this->success('添加成功-'.$result, [], 1, 1); } }