作者 李宇航

合并分支 'lyh-server' 到 'master'

列表页聚合页模式



查看合并请求 !2470
@@ -61,11 +61,11 @@ class ComController extends BaseController @@ -61,11 +61,11 @@ class ComController extends BaseController
61 $data = []; 61 $data = [];
62 $is_ai_blog = $this->getIsAiBlog(); 62 $is_ai_blog = $this->getIsAiBlog();
63 if($is_ai_blog != 1){ 63 if($is_ai_blog != 1){
64 - $data[] = 57; 64 + $data[] = 6;
65 } 65 }
66 $is_ai_video = $this->getIsAiVideo(); 66 $is_ai_video = $this->getIsAiVideo();
67 if($is_ai_video != 1){ 67 if($is_ai_video != 1){
68 - $data[] = 74; 68 + $data[] = 27;
69 } 69 }
70 if($this->user['login_source'] == User::LOGIN_PASSWORD_SOURCE){ 70 if($this->user['login_source'] == User::LOGIN_PASSWORD_SOURCE){
71 $data[] = 19; 71 $data[] = 19;
@@ -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{