作者 lyh

gx数据

... ... @@ -772,6 +772,7 @@ class ProjectLogic extends BaseLogic
$data['special'] = $this->model::specialMap();
$data['search'] = $this->model::searchParam();
$data['plan'] = $this->model::planMap();
$data['blog_frequency'] = $this->model::typeBlogFrequency();
return $this->success($data);
}
... ...
... ... @@ -11,7 +11,6 @@ class DeployOptimize extends Base
//设置关联表名
protected $table = 'gl_project_deploy_optimize';
// public function setMinorLanguagesAttribute($value){
// $this->attributes['minor_languages'] = Arr::a2s($value);
// }
... ...
... ... @@ -55,6 +55,23 @@ class Project extends Base
}
/**
* @remark :aiBlog发布频率
* @name :typeBlogFrequency
* @author :lyh
* @method :post
* @time :2025/3/15 10:29
*/
public static function typeBlogFrequency(){
return [
1=>'1-2天',
2=>'2-3天',
3=>'2-4天',
4=>'3-5天',
5=>'5-7天',
];
}
/**
* 项目类型
* @return string[]
* @author zbj
... ...