正在显示
1 个修改的文件
包含
4 行增加
和
1 行删除
| @@ -68,9 +68,12 @@ class ProjectLogic extends BaseLogic | @@ -68,9 +68,12 @@ class ProjectLogic extends BaseLogic | ||
| 68 | $info['type'] = $info['extend_type']; | 68 | $info['type'] = $info['extend_type']; |
| 69 | } | 69 | } |
| 70 | //升级项目初始上传配置 | 70 | //升级项目初始上传配置 |
| 71 | - if(!empty($info['upload_config'])){ | 71 | + if(empty($info['upload_config'])){ |
| 72 | $info['upload_config'] =["upload_max_num"=>100, "allow_file_type"=>"doc,docx,xls,xlsx,pdf,txt,csv,png,jpg,jpeg", "upload_max_size"=>5]; | 72 | $info['upload_config'] =["upload_max_num"=>100, "allow_file_type"=>"doc,docx,xls,xlsx,pdf,txt,csv,png,jpg,jpeg", "upload_max_size"=>5]; |
| 73 | } | 73 | } |
| 74 | + if(empty($info['channel'])){ | ||
| 75 | + $info['upload_config'] = ["user_id"=>"", "zone_id"=>"", "channel_id"=>""]; | ||
| 76 | + } | ||
| 74 | return $this->success($info); | 77 | return $this->success($info); |
| 75 | } | 78 | } |
| 76 | 79 |
-
请 注册 或 登录 后发表评论