正在显示
2 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -287,7 +287,6 @@ class InquiryController extends BaseController | @@ -287,7 +287,6 @@ class InquiryController extends BaseController | ||
| 287 | throw new \Exception('文件生成失败,请重试'); | 287 | throw new \Exception('文件生成失败,请重试'); |
| 288 | } | 288 | } |
| 289 | $fileurl = Storage::disk('runtime')->url($file); | 289 | $fileurl = Storage::disk('runtime')->url($file); |
| 290 | -// return Storage::disk('runtime')->download($file); //直接下载 | ||
| 291 | $this->response('success',Code::SUCCESS,['url' => $fileurl]); | 290 | $this->response('success',Code::SUCCESS,['url' => $fileurl]); |
| 292 | } | 291 | } |
| 293 | 292 |
| @@ -151,6 +151,7 @@ class CategoryLogic extends BaseLogic | @@ -151,6 +151,7 @@ class CategoryLogic extends BaseLogic | ||
| 151 | }else{ | 151 | }else{ |
| 152 | $param['describe_image'] = json_encode([]); | 152 | $param['describe_image'] = json_encode([]); |
| 153 | } | 153 | } |
| 154 | + $this->param['image'] = $this->param['image'] ?? ''; | ||
| 154 | if(isset($param['cate_tak']) && !empty($param['cate_tak'])){ | 155 | if(isset($param['cate_tak']) && !empty($param['cate_tak'])){ |
| 155 | $param['cate_tak'] = json_encode($param['cate_tak']); | 156 | $param['cate_tak'] = json_encode($param['cate_tak']); |
| 156 | }else{ | 157 | }else{ |
-
请 注册 或 登录 后发表评论