本次更新

1.domain 增加了几个字段,已经 backup,
2.视图模板,替换模板分组,替换模板 数据增加了seed 播种
3. 标记了TODO
This commit is contained in:
make
2025-04-05 20:41:47 +08:00
parent 25bf602048
commit 9945b6b137
52 changed files with 2675 additions and 255 deletions

View File

@@ -157,6 +157,9 @@ class Site extends BaseController
"d_name" => $Request->post('d_name'),
"d_keywords" => $Request->post('d_keywords'),
"d_description" => $Request->post('d_description'),
"d_index_title" => $Request->post('d_index_title'),
"d_index_keywords" => $Request->post('d_index_keywords'),
"d_index_description" => $Request->post('d_index_description'),
"d_statis" => $Request->post('d_statis'),
"d_logo_type" => $Request->post('d_logo_type'),
"d_text_log" => $Request->post('d_text_log'),
@@ -341,7 +344,8 @@ class Site extends BaseController
$this->validate($arrData, $arrRule);
$arrSfgId = explode(',', $arrData['sfg_id']);
SubjectFomartGroupModel::where('sfg_id', $arrSfgId)->delete();
SubjectFomartGroupModel::whereIn('sfg_id', $arrSfgId)->delete();
return $this->success();
}
@@ -458,7 +462,7 @@ class Site extends BaseController
$this->validate($arrData, $arrRule);
$arrSfId = explode(',', $arrData['sf_id']);
SubjectFomartModel::where('sf_id', $arrSfId)->delete();
SubjectFomartModel::whereIn('sf_id', $arrSfId)->delete();
return $this->success();
}