作者 赵彬吉
@@ -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