This commit is contained in:
wangjinlei
2022-11-23 14:48:18 +08:00
parent 549b08c5a4
commit 8d61cab137
2 changed files with 4 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ class Journal extends Controller {
$where['footer_state'] = 0;
$list = $this->footer_obj->where($where)->order('sort desc')->select();
$frag = [];
$frag['Publishing Policy'] = [];
$frag['Guidelines'] = [];
$frag['Products'] = [];
$frag['Join Us'] = [];
$frag['Cooperate with Us'] = [];
@@ -150,7 +150,7 @@ class Journal extends Controller {
foreach ($list as $v) {
switch ($v['footer_group']) {
case 1:
$frag['Publishing Policy'][] = $v;
$frag['Guidelines'][] = $v;
break;
case 2:
$frag['Join Us'][] = $v;