Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6
正在显示
1 个修改的文件
包含
7 行增加
和
0 行删除
| @@ -67,6 +67,13 @@ class ProjectLogic extends BaseLogic | @@ -67,6 +67,13 @@ class ProjectLogic extends BaseLogic | ||
| 67 | if($info['extend_type'] != 0){ | 67 | if($info['extend_type'] != 0){ |
| 68 | $info['type'] = $info['extend_type']; | 68 | $info['type'] = $info['extend_type']; |
| 69 | } | 69 | } |
| 70 | + //升级项目初始上传配置 | ||
| 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]; | ||
| 73 | + } | ||
| 74 | + if(empty($info['channel'])){ | ||
| 75 | + $info['channel'] = ["user_id"=>"", "zone_id"=>"", "channel_id"=>""]; | ||
| 76 | + } | ||
| 70 | return $this->success($info); | 77 | return $this->success($info); |
| 71 | } | 78 | } |
| 72 | 79 |
-
请 注册 或 登录 后发表评论