소스 검색

关联底部导航池

15313670163 4 달 전
부모
커밋
89bb46ec0e
3개의 변경된 파일31개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      app/JsonRpc/WebsiteService.php
  2. 1 1
      runtime/hyperf.pid
  3. 29 0
      runtime/logs/hyperf.log

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -1160,7 +1160,7 @@ class WebsiteService implements WebsiteServiceInterface
          // 获取此网站的底部导航  类型   type:  0:内容型底部导航(只有一条详情内容);1:列表型底部导航(可以有多条详情内容)
          $foot_type = FooterCategory::where('website_id',$data['website_id'])->pluck('type')->toArray();
          if (empty($foot_type)) {
-             return Result::error("请先关联导航池!", 0);
+             return Result::error("请先关联底部导航池!", 0);
          } elseif (in_array(1, $foot_type)) {
              $foot_type = 1;
          } else {

+ 1 - 1
runtime/hyperf.pid

@@ -1 +1 @@
-28796
+29724

+ 29 - 0
runtime/logs/hyperf.log

@@ -3344,3 +3344,32 @@
 [2025-02-06T14:08:59.404304+08:00] sql.INFO: [15.01] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
 [2025-02-06T14:08:59.419814+08:00] sql.INFO: [14.54] select * from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}') and json_contains(`template_img`, '{"value":"5"}') and json_contains(`template_img`, '{"value":"6"}')) order by `template`.`updated_at` desc limit 1 offset 0 [] []
 [2025-02-06T14:08:59.436623+08:00] sql.INFO: [15.85] select count(*) as aggregate from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}') and json_contains(`template_img`, '{"value":"5"}') and json_contains(`template_img`, '{"value":"6"}')) [] []
+[2025-02-06T14:15:34.477454+08:00] sql.INFO: [62.82] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:15:34.513657+08:00] sql.INFO: [16.07] select `template`.`template_name`, `template`.`template_img`, `template`.`id` as `tid`, `template_class`.`name`, `template_class`.`id` as `class_id`, `website_template_info`.`page_type`, `website_template_info`.`website_id` from `website_template_info` left join `template` on `template`.`id` = `website_template_info`.`template_id` left join `template_class` on `template_class`.`id` = `template`.`template_class_id` where (`website_template_info`.`website_id` = '2' and `template_id` is not null) and (json_contains(`template`.`template_img`, '{"value":"1"}') or json_contains(`template`.`template_img`, '{"value":"2"}') or json_contains(`template`.`template_img`, '{"value":"7"}') or json_contains(`template`.`template_img`, '{"value":"5"}') or json_contains(`template`.`template_img`, '{"value":"6"}')) limit 1 [] []
+[2025-02-06T14:27:35.558973+08:00] sql.INFO: [1487.59] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:27:35.573648+08:00] sql.INFO: [13.17] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:27:35.592273+08:00] sql.INFO: [14.07] select * from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}') and json_contains(`template_img`, '{"value":"5"}') and json_contains(`template_img`, '{"value":"6"}')) order by `template`.`updated_at` desc limit 10 offset 0 [] []
+[2025-02-06T14:27:35.606315+08:00] sql.INFO: [13.24] select count(*) as aggregate from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}') and json_contains(`template_img`, '{"value":"5"}') and json_contains(`template_img`, '{"value":"6"}')) [] []
+[2025-02-06T14:33:11.470412+08:00] sql.INFO: [58.44] select * from `website` where `website`.`id` = '3' limit 1 [] []
+[2025-02-06T14:33:11.491324+08:00] sql.INFO: [13.63] select `type` from `footer_category` where `website_id` = '3' [] []
+[2025-02-06T14:33:19.497525+08:00] sql.INFO: [17.38] select * from `website` where `website`.`id` = '1' limit 1 [] []
+[2025-02-06T14:33:19.511936+08:00] sql.INFO: [13.37] select `type` from `footer_category` where `website_id` = '1' [] []
+[2025-02-06T14:33:19.529221+08:00] sql.INFO: [14.08] select `type` from `link` where `website_id` = '1' [] []
+[2025-02-06T14:33:44.285880+08:00] sql.INFO: [15.46] select * from `website` where `website`.`id` = '1' limit 1 [] []
+[2025-02-06T14:33:44.299860+08:00] sql.INFO: [13.06] select `type` from `footer_category` where `website_id` = '1' [] []
+[2025-02-06T14:33:44.315448+08:00] sql.INFO: [15.09] select `type` from `link` where `website_id` = '1' [] []
+[2025-02-06T14:33:44.351137+08:00] sql.INFO: [35.07] select * from `website_template_info` where `website_id` = '1' limit 1 [] []
+[2025-02-06T14:33:44.369525+08:00] sql.INFO: [16.63] insert into `website_template_info` (`website_id`, `page_type`, `statement`, `organizer`, `copyright_information`, `contact_number`, `company_address`, `project_logo`, `project_name`, `project_url`, `company_logo`, `company_name`, `company_url`, `record_number`, `record_number_url`, `icp_number`, `icp_number_url`, `customer_service_qq`, `communications`, `action_id`) values ('1', '["1","7","2","5","6"]', '不是一个人的王者,而是团队的荣耀!', '王者荣耀', '敌方还有五秒到达战场!全军出击!', '1684635684', '王者峡谷上半野区的蓝心草(在蓝buff旁边的新出的草丛中)', 'Timi', '排位赛;站至巅峰!', '请选择你要去往的分路!', '匹配赛', '召集模式;我很急!', '我跟你说这成吉思汗优化的不行啊!', '666', '请文明发言', '您已被举报!', '您已被禁言!', '这人机队友也太坑了吧!真的无语住了!', '为什么不去推塔呀?家都不要了?高地不守就算了还去送人头?是嫌输的不够快吗?!!!', '1') [] []
+[2025-02-06T14:34:09.022818+08:00] sql.INFO: [17.9] select * from `website` where `website`.`id` = '7' limit 1 [] []
+[2025-02-06T14:34:22.953924+08:00] sql.INFO: [16.96] select * from `website` where `website`.`id` = '5' limit 1 [] []
+[2025-02-06T14:34:22.970069+08:00] sql.INFO: [15.31] select `type` from `footer_category` where `website_id` = '5' [] []
+[2025-02-06T14:34:22.986317+08:00] sql.INFO: [15.65] select `type` from `link` where `website_id` = '5' [] []
+[2025-02-06T14:37:05.169656+08:00] sql.INFO: [63.28] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:37:05.183510+08:00] sql.INFO: [13.06] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:37:05.201307+08:00] sql.INFO: [16.82] select * from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}') and json_contains(`template_img`, '{"value":"5"}') and json_contains(`template_img`, '{"value":"6"}')) order by `template`.`updated_at` desc limit 10 offset 0 [] []
+[2025-02-06T14:37:05.217803+08:00] sql.INFO: [15.74] select count(*) as aggregate from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}') and json_contains(`template_img`, '{"value":"5"}') and json_contains(`template_img`, '{"value":"6"}')) [] []
+[2025-02-06T14:37:16.936257+08:00] sql.INFO: [16.89] select * from `website` where `website`.`id` = '5' limit 1 [] []
+[2025-02-06T14:37:16.952231+08:00] sql.INFO: [15.33] select `page_type` from `website_template_info` where `website_id` = '5' limit 1 [] []
+[2025-02-06T14:37:23.251706+08:00] sql.INFO: [15.9] select * from `website` where `website`.`id` = '5' limit 1 [] []
+[2025-02-06T14:37:23.267382+08:00] sql.INFO: [14.88] select `type` from `footer_category` where `website_id` = '5' [] []
+[2025-02-06T14:37:23.283802+08:00] sql.INFO: [15.7] select `type` from `link` where `website_id` = '5' [] []