作者 lyh

gx

@@ -67,6 +67,10 @@ class ProjectLogic extends BaseLogic @@ -67,6 +67,10 @@ 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 + }
70 return $this->success($info); 74 return $this->success($info);
71 } 75 }
72 76