Bläddra i källkod

修改搜索及获取网站模板-自助建站

15313670163 4 månader sedan
förälder
incheckning
5190c204f3
3 ändrade filer med 178 tillägg och 12 borttagningar
  1. 18 12
      app/JsonRpc/WebsiteService.php
  2. 1 0
      runtime/hyperf.pid
  3. 159 0
      runtime/logs/hyperf.log

+ 18 - 12
app/JsonRpc/WebsiteService.php

@@ -1156,7 +1156,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 {
@@ -1302,7 +1302,7 @@ class WebsiteService implements WebsiteServiceInterface
             } else{
                 $where = json_decode($page_type['page_type'], true);
                  // $where = $data["page_type"];
-                if(isset($data['template_class_id'])){
+                if(isset($data['template_class_id']) && !empty($data['template_class_id'])){
                     $template_class = TemplateClass::where('id',$data['template_class_id'])->first();
                     if(empty($template_class)){
                         return Result::error("请输入正确的模板风格id!",0);
@@ -1447,17 +1447,23 @@ class WebsiteService implements WebsiteServiceInterface
         // return Result::success($result);
         $result['template_img'] = $template_img;
         $result['page_type'] = $page_type;
-        // 查找 $template 在 $templates 数组中的索引
-        // $index = array_search($template['template_id'],  array_column($data['templates'], 'id'));
-
-        // 如果找到了 $template,则计算它所在的页码
-        // if ($index !== false) {
-        //     $page = floor($index / $data['pageSize']) + 1;
-        //     $result['page'] = $page;
-        //     echo "查询到的 template 在第 $page 页";
-        // } else {
-        //     echo "未找到查询到的 template";
+
+        // $templateList = $this->getWebsiteTemplateList($data);
+        // $count = $templateList['data']['count']??'';
+        // $pages = $count / $data['pageSize'];
+        // $found = false;
+        // while ($pages && !$found) {
+        //     $templates = $this->getWebsiteTemplateList($pages,$data['pageSize']);
+        //     $index = array_search($template['template_id'], array_column($templates['rows'], 'id'));
+        //     if ($index !== false) {
+        //         $found = true;
+        //         $result['page'] = $pages;
+        //         $pages = 0;
+        //         // echo "查询到的 template 在第 $page 页";
+        //     }
+        //     $pages--;
         // }
+
         if(empty($result)){
             return Result::error("没有查找到相关数据",0);
         }else{

+ 1 - 0
runtime/hyperf.pid

@@ -0,0 +1 @@
+30626

+ 159 - 0
runtime/logs/hyperf.log

@@ -3214,3 +3214,162 @@
 [2025-02-06T08:54:01.858431+08:00] sql.INFO: [16] 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"}')) limit 1 [] []
 [2025-02-06T09:05:10.544595+08:00] sql.INFO: [274.54] select count(*) as aggregate from `website` left join `website_template_info` on `website_template_info`.`website_id` = `website`.`id` 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`.`status` = '1' [] []
 [2025-02-06T09:05:10.588610+08:00] sql.INFO: [40.17] select `website_template_info`.`id`, `template_class`.`name`, `website`.`id` as `website_id`, `website`.`website_name`, `website`.`website_url`, `website_template_info`.`action_id`, `website_template_info`.`created_at`, `website_template_info`.`updated_at`, `website_template_info`.`page_type`, COALESCE(website_template_info.status, 0) as template_status, `template`.`template_name` from `website` left join `website_template_info` on `website_template_info`.`website_id` = `website`.`id` 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`.`status` = '1' order by `website_template_info`.`updated_at` desc limit 10 offset 0 [] []
+[2025-02-06T13:57:50.384814+08:00] sql.INFO: [2182.64] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:57:50.645021+08:00] sql.INFO: [243.27] 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"}')) limit 1 [] []
+[2025-02-06T13:57:50.883963+08:00] sql.INFO: [232.47] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T13:57:50.902320+08:00] sql.INFO: [16.61] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:57:51.140039+08:00] sql.INFO: [232.26] select * from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}')) order by `template`.`updated_at` desc limit 1 offset 0 [] []
+[2025-02-06T13:57:51.157214+08:00] sql.INFO: [16.21] 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"}')) [] []
+[2025-02-06T13:58:20.635130+08:00] sql.INFO: [261.26] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:58:20.654998+08:00] sql.INFO: [18.89] 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"}')) limit 1 [] []
+[2025-02-06T13:58:20.882570+08:00] sql.INFO: [226.85] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T13:58:21.114874+08:00] sql.INFO: [231.31] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:58:21.347531+08:00] sql.INFO: [230.8] select * from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}')) order by `template`.`updated_at` desc limit 1 offset 0 [] []
+[2025-02-06T13:58:21.366851+08:00] sql.INFO: [17.47] 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"}')) [] []
+[2025-02-06T13:58:24.933458+08:00] sql.INFO: [271.35] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:58:24.967630+08:00] sql.INFO: [16.53] 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"}')) limit 1 [] []
+[2025-02-06T13:58:24.988042+08:00] sql.INFO: [14.79] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T13:58:25.003359+08:00] sql.INFO: [14.68] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:58:25.022519+08:00] sql.INFO: [14.32] select * from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}')) order by `template`.`updated_at` desc limit 1 offset 0 [] []
+[2025-02-06T13:58:25.036953+08:00] sql.INFO: [13.77] 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"}')) [] []
+[2025-02-06T13:58:36.701050+08:00] sql.INFO: [716.71] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:58:36.947720+08:00] sql.INFO: [244.79] 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"}')) limit 1 [] []
+[2025-02-06T13:58:36.965942+08:00] sql.INFO: [16.44] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T13:58:36.981261+08:00] sql.INFO: [14.28] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:58:36.997423+08:00] sql.INFO: [15.21] select * from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}')) order by `template`.`updated_at` desc limit 1 offset 0 [] []
+[2025-02-06T13:58:37.013215+08:00] sql.INFO: [14.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"}')) [] []
+[2025-02-06T13:58:40.507898+08:00] sql.INFO: [494.55] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:58:40.540177+08:00] sql.INFO: [16.5] 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"}')) limit 1 [] []
+[2025-02-06T13:58:40.558437+08:00] sql.INFO: [13.8] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T13:58:40.572795+08:00] sql.INFO: [13.65] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:58:40.591403+08:00] sql.INFO: [14.28] select * from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}')) order by `template`.`updated_at` desc limit 1 offset 0 [] []
+[2025-02-06T13:58:40.606552+08:00] sql.INFO: [14.42] 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"}')) [] []
+[2025-02-06T13:59:20.283492+08:00] sql.INFO: [60.09] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:59:20.317513+08:00] sql.INFO: [16.75] 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"}')) limit 1 [] []
+[2025-02-06T13:59:20.337814+08:00] sql.INFO: [14.81] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T13:59:20.352930+08:00] sql.INFO: [14.41] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:59:20.371480+08:00] sql.INFO: [14.47] select * from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}')) order by `template`.`updated_at` desc limit 1 offset 0 [] []
+[2025-02-06T13:59:20.600180+08:00] sql.INFO: [227.97] 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"}')) [] []
+[2025-02-06T13:59:22.097444+08:00] sql.INFO: [277.52] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:59:22.116596+08:00] sql.INFO: [17.87] 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"}')) limit 1 [] []
+[2025-02-06T13:59:22.133977+08:00] sql.INFO: [16.2] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T13:59:22.148737+08:00] sql.INFO: [13.47] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:59:22.164772+08:00] sql.INFO: [15.33] select * from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}')) order by `template`.`updated_at` desc limit 1 offset 0 [] []
+[2025-02-06T13:59:22.392353+08:00] sql.INFO: [226.67] 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"}')) [] []
+[2025-02-06T13:59:31.055370+08:00] sql.INFO: [305.5] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:59:31.074411+08:00] sql.INFO: [17.72] 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"}')) limit 1 [] []
+[2025-02-06T13:59:31.090330+08:00] sql.INFO: [15.01] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T13:59:31.320443+08:00] sql.INFO: [229.19] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:59:31.337121+08:00] sql.INFO: [15.69] select * from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}')) order by `template`.`updated_at` desc limit 1 offset 0 [] []
+[2025-02-06T13:59:31.353144+08:00] sql.INFO: [15.06] 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"}')) [] []
+[2025-02-06T13:59:34.423905+08:00] sql.INFO: [108.28] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:59:34.458322+08:00] sql.INFO: [17.28] 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"}')) limit 1 [] []
+[2025-02-06T13:59:34.480710+08:00] sql.INFO: [17.76] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T13:59:34.496239+08:00] sql.INFO: [14.8] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:59:34.514703+08:00] sql.INFO: [13.79] select * from `template` where (json_contains(`template_img`, '{"value":"1"}') and json_contains(`template_img`, '{"value":"2"}') and json_contains(`template_img`, '{"value":"7"}')) order by `template`.`updated_at` desc limit 1 offset 0 [] []
+[2025-02-06T13:59:34.530989+08:00] sql.INFO: [15.46] 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"}')) [] []
+[2025-02-06T13:59:51.140260+08:00] sql.INFO: [287.37] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:59:51.155408+08:00] sql.INFO: [13.89] 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-06T13:59:51.171917+08:00] sql.INFO: [15.51] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T13:59:51.400969+08:00] sql.INFO: [228.17] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T13:59:51.634371+08:00] sql.INFO: [231.68] 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-06T13:59:51.648845+08:00] sql.INFO: [13.31] 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:01:42.292889+08:00] sql.INFO: [62.48] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:01:42.325298+08:00] sql.INFO: [15.34] 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:01:42.346209+08:00] sql.INFO: [16.89] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:01:42.362169+08:00] sql.INFO: [14.99] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:01:42.381636+08:00] sql.INFO: [14.9] 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:01:42.395496+08:00] sql.INFO: [12.97] 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:01:43.676403+08:00] sql.INFO: [16.37] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:01:43.693003+08:00] sql.INFO: [15.58] 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:01:43.719409+08:00] sql.INFO: [25.68] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:01:43.733900+08:00] sql.INFO: [13.61] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:01:43.751479+08:00] sql.INFO: [16.48] 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:01:43.765022+08:00] sql.INFO: [12.48] 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:01:47.157763+08:00] sql.INFO: [69.52] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:01:47.192118+08:00] sql.INFO: [16.97] 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:01:47.212729+08:00] sql.INFO: [16.01] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:01:47.228357+08:00] sql.INFO: [14.95] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:01:47.248521+08:00] sql.INFO: [16.09] 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:01:47.266514+08:00] sql.INFO: [17.09] 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:01:58.843961+08:00] sql.INFO: [16.5] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:01:58.862658+08:00] sql.INFO: [17.7] 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:01:58.879305+08:00] sql.INFO: [15.77] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:01:58.895526+08:00] sql.INFO: [15.26] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:01:58.921140+08:00] sql.INFO: [24.71] 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:01:58.938518+08:00] sql.INFO: [16.2] 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:02:02.525041+08:00] sql.INFO: [280.21] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:02:02.558197+08:00] sql.INFO: [16.43] 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:02:02.579488+08:00] sql.INFO: [17.06] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:02:02.596077+08:00] sql.INFO: [15.71] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:02:02.617818+08:00] sql.INFO: [17.4] 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:02:02.635174+08:00] sql.INFO: [16.25] 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:02:14.870171+08:00] sql.INFO: [18.73] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:02:15.104600+08:00] sql.INFO: [233.14] 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:02:15.123537+08:00] sql.INFO: [17.91] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:02:15.141827+08:00] sql.INFO: [17.49] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:02:15.159446+08:00] sql.INFO: [16.7] 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:02:15.176010+08:00] sql.INFO: [15.67] 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:02:16.188318+08:00] sql.INFO: [18.28] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:02:16.207027+08:00] sql.INFO: [17.48] 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:02:16.225947+08:00] sql.INFO: [18.15] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:02:16.242283+08:00] sql.INFO: [15.62] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:02:16.260298+08:00] sql.INFO: [17.24] 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:02:16.279284+08:00] sql.INFO: [17.94] 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:02:19.036450+08:00] sql.INFO: [69.94] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:02:19.073198+08:00] sql.INFO: [18.02] 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:02:19.093831+08:00] sql.INFO: [16.59] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:02:19.109812+08:00] sql.INFO: [15.13] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:02:19.131556+08:00] sql.INFO: [17.59] 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:02:19.147503+08:00] sql.INFO: [15.03] 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:02:21.694998+08:00] sql.INFO: [16.79] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:02:21.714359+08:00] sql.INFO: [18.17] 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:02:21.731414+08:00] sql.INFO: [16.37] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:02:21.748399+08:00] sql.INFO: [16.11] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:02:21.765577+08:00] sql.INFO: [16.39] 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:02:21.781501+08:00] sql.INFO: [15.18] 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:02:45.587996+08:00] sql.INFO: [16.17] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:02:45.605956+08:00] sql.INFO: [16.98] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:02:45.623459+08:00] sql.INFO: [16.53] 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:02:45.641878+08:00] sql.INFO: [17.52] 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:08:56.973073+08:00] sql.INFO: [63.49] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:08:57.005483+08:00] sql.INFO: [16.68] 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:08:57.025058+08:00] sql.INFO: [15.28] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[2025-02-06T14:08:57.039618+08:00] sql.INFO: [13.7] select `page_type` from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:08:57.058998+08:00] sql.INFO: [14.81] 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:57.073800+08:00] sql.INFO: [14.09] 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:08:59.356100+08:00] sql.INFO: [17.06] select * from `website_template_info` where `website_id` = '2' limit 1 [] []
+[2025-02-06T14:08:59.372190+08:00] sql.INFO: [14.87] 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:08:59.388350+08:00] sql.INFO: [15.13] select * from `website` where `website`.`id` = '2' limit 1 [] []
+[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' [] []