|
@@ -1243,8 +1243,9 @@ class PublicRpcService implements PublicRpcServiceInterface
|
|
|
return Result::error('暂无底部导航数据!');
|
|
|
}
|
|
|
$page_type = WebsiteTemplateInfo::where('website_id', $data['website_id'])->value('page_type');
|
|
|
-
|
|
|
- if(isset($page_type) && $page_type == '[1,2,3,4,5,6,7]'){
|
|
|
+ $page_type = json_decode($page_type,true);
|
|
|
+
|
|
|
+ if(isset($page_type) && in_array(5,$page_type)){
|
|
|
$page_type = 1;
|
|
|
}else{
|
|
|
$page_type = 0;
|