正在显示
3 个修改的文件
包含
18 行增加
和
1 行删除
| @@ -772,6 +772,7 @@ class ProjectLogic extends BaseLogic | @@ -772,6 +772,7 @@ class ProjectLogic extends BaseLogic | ||
| 772 | $data['special'] = $this->model::specialMap(); | 772 | $data['special'] = $this->model::specialMap(); |
| 773 | $data['search'] = $this->model::searchParam(); | 773 | $data['search'] = $this->model::searchParam(); |
| 774 | $data['plan'] = $this->model::planMap(); | 774 | $data['plan'] = $this->model::planMap(); |
| 775 | + $data['blog_frequency'] = $this->model::typeBlogFrequency(); | ||
| 775 | return $this->success($data); | 776 | return $this->success($data); |
| 776 | } | 777 | } |
| 777 | 778 |
| @@ -11,7 +11,6 @@ class DeployOptimize extends Base | @@ -11,7 +11,6 @@ class DeployOptimize extends Base | ||
| 11 | //设置关联表名 | 11 | //设置关联表名 |
| 12 | protected $table = 'gl_project_deploy_optimize'; | 12 | protected $table = 'gl_project_deploy_optimize'; |
| 13 | 13 | ||
| 14 | - | ||
| 15 | // public function setMinorLanguagesAttribute($value){ | 14 | // public function setMinorLanguagesAttribute($value){ |
| 16 | // $this->attributes['minor_languages'] = Arr::a2s($value); | 15 | // $this->attributes['minor_languages'] = Arr::a2s($value); |
| 17 | // } | 16 | // } |
| @@ -55,6 +55,23 @@ class Project extends Base | @@ -55,6 +55,23 @@ class Project extends Base | ||
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | /** | 57 | /** |
| 58 | + * @remark :aiBlog发布频率 | ||
| 59 | + * @name :typeBlogFrequency | ||
| 60 | + * @author :lyh | ||
| 61 | + * @method :post | ||
| 62 | + * @time :2025/3/15 10:29 | ||
| 63 | + */ | ||
| 64 | + public static function typeBlogFrequency(){ | ||
| 65 | + return [ | ||
| 66 | + 1=>'1-2天', | ||
| 67 | + 2=>'2-3天', | ||
| 68 | + 3=>'2-4天', | ||
| 69 | + 4=>'3-5天', | ||
| 70 | + 5=>'5-7天', | ||
| 71 | + ]; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + /** | ||
| 58 | * 项目类型 | 75 | * 项目类型 |
| 59 | * @return string[] | 76 | * @return string[] |
| 60 | * @author zbj | 77 | * @author zbj |
-
请 注册 或 登录 后发表评论