暂时让运营人员开启本地生活栏目

This commit is contained in:
wangxiaowei 2024-09-29 09:11:30 +08:00
parent 077748f231
commit 41cb0aff5d

@ -808,15 +808,16 @@ class IndexLogic extends Logic
->withAttr('un_selected_icon',function($value,$data){
return UrlServer::getFileUrl($value);
})
->select();
->select()->toArray();
if ($user_id == 215) {
if ($user_id == 215 || $user_id == 1902 || $user_id == 1632) {
foreach ($navigation as &$v) {
if ($v['name'] == '本地生活') {
$v['status'] = 1;
}
}
}
$share_h5 = ConfigServer::get('share', 'h5', [
'h5_share_title' => '',
'h5_share_intro' => '',