1
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user