|
...
|
...
|
@@ -67,6 +67,13 @@ class ProjectLogic extends BaseLogic |
|
|
|
if($info['extend_type'] != 0){
|
|
|
|
$info['type'] = $info['extend_type'];
|
|
|
|
}
|
|
|
|
//升级项目初始上传配置
|
|
|
|
if(empty($info['upload_config'])){
|
|
|
|
$info['upload_config'] =["upload_max_num"=>100, "allow_file_type"=>"doc,docx,xls,xlsx,pdf,txt,csv,png,jpg,jpeg", "upload_max_size"=>5];
|
|
|
|
}
|
|
|
|
if(empty($info['channel'])){
|
|
|
|
$info['channel'] = ["user_id"=>"", "zone_id"=>"", "channel_id"=>""];
|
|
|
|
}
|
|
|
|
return $this->success($info);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|