Jelajahi Sumber

修改添加底部导航内容和编辑底部导航内容

15313670163 3 bulan lalu
induk
melakukan
dd4f6000b1
3 mengubah file dengan 200 tambahan dan 3 penghapusan
  1. 37 2
      app/JsonRpc/FooterService.php
  2. 1 1
      runtime/hyperf.pid
  3. 162 0
      runtime/logs/hyperf.log

+ 37 - 2
app/JsonRpc/FooterService.php

@@ -113,6 +113,10 @@ class FooterService implements FooterServiceInterface
             if (in_array($data['name'], $all_categories)) {
                 return Result::error("修改后的底部导航名称已存在!");
             }
+            $webid = Website::where('id',$data['website_id'])->first();
+            if(empty($webid)){
+                return Result::error("该网站不存在!");
+            }
             $result = FooterCategory::where('id', $data['id'])->update($data);
         }
         if (empty($result)) {
@@ -158,6 +162,20 @@ class FooterService implements FooterServiceInterface
     {
         // 底部导航类型    0:内容型;1:列表型;
         // var_dump($data);
+       
+        $cat = FooterCategory::where('id', $data['fcat_id'])->first();
+        if (!$cat) {
+            return Result::error("该底部导航不存在!");
+        }
+        if($cat['type'] != $data['type']){
+            return Result::error("请输入正确的底部导航类型!");
+        }
+        if($cat['type'] == 0){
+            $content = FooterContent::where('fcat_id', $data['fcat_id'])->first();
+            if(!empty($content)){
+                return Result::error("该底部导航已添加内容!");
+            }
+        }
         unset($data['type']);
         $result = FooterContent::insertGetId($data);
         if(empty($result)){
@@ -186,8 +204,10 @@ class FooterService implements FooterServiceInterface
             }
         }
         $rep = FooterContent::where($where)
-        ->limit($data['pageSize'])->offset(($data['page']-1)*$data['pageSize'])
-        ->orderBy("updated_at","desc")->get();
+        ->limit($data['pageSize'])
+        ->offset(($data['page']-1)*$data['pageSize'])
+        ->orderBy("updated_at","desc")
+        ->get();
         $count = FooterContent::where($where)->count();
         if($count == 0){
             return Result::error("没有查到相关数据!");
@@ -224,6 +244,21 @@ class FooterService implements FooterServiceInterface
      */
     public function upFooterContent(array $data): array
     {
+        $content = FooterContent::where('footer_content.id', $data['id'])
+        ->leftJoin('footer_category','footer_category.id','fcat_id')
+        ->select('footer_content.*','footer_category.type','footer_category.id as fcat_id')
+        ->first();
+        if(!$content){
+            return Result::error("该底部导航内容不存在!");
+        }
+        if($content['type'] != $data['type']){
+            return Result::error("请输入正确的底部导航类型!");
+        }
+        if($content['type'] == 1){
+            if(!isset($data['list_title']) || empty($data['list_title'])){
+                return Result::error("请输入底部导航内容标题!");
+            }
+        }
         unset($data['type']);            
         $result = FooterContent::where('id', $data['id'])->update($data);   
         if(empty($result)){

+ 1 - 1
runtime/hyperf.pid

@@ -1 +1 @@
-4289
+24251

+ 162 - 0
runtime/logs/hyperf.log

@@ -1632,3 +1632,165 @@
 [2025-01-20T14:13:47.749999+08:00] sql.INFO: [14.16] select `website_name`, `id` from `website` where `id` = '50' limit 1 [] []
 [2025-01-20T14:13:58.276045+08:00] sql.INFO: [309.2] select * from `footer_category` where `website_id` = '50' and `name` = '这你就不懂了吧3' limit 1 [] []
 [2025-01-20T14:13:58.544183+08:00] sql.INFO: [231.2] select `website_name`, `id` from `website` where `id` = '50' limit 1 [] []
+[2025-01-20T14:17:16.453402+08:00] sql.INFO: [85.39] select `footer_category`.*, `website`.`website_name`, `website`.`id` as `website_id` from `footer_category` left join `website` on `website`.`id` = `footer_category`.`website_id` where (`website`.`website_name` like '%三农%') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T14:17:21.519032+08:00] sql.INFO: [17.97] select `footer_category`.*, `website`.`website_name`, `website`.`id` as `website_id` from `footer_category` left join `website` on `website`.`id` = `footer_category`.`website_id` order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T14:17:21.544820+08:00] sql.INFO: [22.18] select count(*) as aggregate from `footer_category` [] []
+[2025-01-20T14:17:54.778243+08:00] sql.INFO: [16.44] select * from `footer_category` where `id` = '35' limit 1 [] []
+[2025-01-20T14:18:03.936989+08:00] sql.INFO: [13.89] select * from `footer_category` where `id` = '35' limit 1 [] []
+[2025-01-20T14:18:06.105801+08:00] sql.INFO: [16.27] select * from `footer_category` where `id` = '35' limit 1 [] []
+[2025-01-20T14:18:09.359022+08:00] sql.INFO: [227.64] select * from `footer_category` where `id` = '3' limit 1 [] []
+[2025-01-20T14:18:09.373355+08:00] sql.INFO: [12.95] select `name` from `footer_category` where `website_id` = '2' [] []
+[2025-01-20T14:18:09.395403+08:00] sql.INFO: [13.15] update `footer_category` set `name` = '三农1', `website_id` = '2', `id` = '3', `footer_category`.`updated_at` = '2025-01-20 14:18:09' where `id` = '3' [] []
+[2025-01-20T14:18:21.971869+08:00] sql.INFO: [16.44] select `footer_category`.*, `website`.`website_name`, `website`.`id` as `website_id` from `footer_category` left join `website` on `website`.`id` = `footer_category`.`website_id` where (`website`.`website_name` like '%三农1%') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T14:18:33.785729+08:00] sql.INFO: [15.25] select `footer_category`.*, `website`.`website_name`, `website`.`id` as `website_id` from `footer_category` left join `website` on `website`.`id` = `footer_category`.`website_id` where (`website`.`website_name` like '%三农1%') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T14:18:42.613291+08:00] sql.INFO: [226.33] select `footer_category`.*, `website`.`website_name`, `website`.`id` as `website_id` from `footer_category` left join `website` on `website`.`id` = `footer_category`.`website_id` where (`footer_category`.`name` like '%三农1%') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T14:18:56.896084+08:00] sql.INFO: [15.84] select `footer_category`.*, `website`.`website_name`, `website`.`id` as `website_id` from `footer_category` left join `website` on `website`.`id` = `footer_category`.`website_id` order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T14:18:56.914368+08:00] sql.INFO: [15.91] select count(*) as aggregate from `footer_category` [] []
+[2025-01-20T14:19:16.234686+08:00] sql.INFO: [15.39] select * from `footer_category` where `id` = '31' limit 1 [] []
+[2025-01-20T14:19:16.251207+08:00] sql.INFO: [15.62] select `name` from `footer_category` where `website_id` = '2' [] []
+[2025-01-20T14:19:20.896414+08:00] sql.INFO: [14.89] select * from `footer_category` where `id` = '31' limit 1 [] []
+[2025-01-20T14:19:20.913159+08:00] sql.INFO: [16] select `name` from `footer_category` where `website_id` = '5' [] []
+[2025-01-20T14:19:20.928901+08:00] sql.INFO: [15.18] update `footer_category` set `name` = '三农1', `website_id` = '5', `id` = '31', `footer_category`.`updated_at` = '2025-01-20 14:19:20' where `id` = '31' [] []
+[2025-01-20T14:19:24.548899+08:00] sql.INFO: [17.37] select `footer_category`.*, `website`.`website_name`, `website`.`id` as `website_id` from `footer_category` left join `website` on `website`.`id` = `footer_category`.`website_id` order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T14:19:24.781396+08:00] sql.INFO: [229.63] select count(*) as aggregate from `footer_category` [] []
+[2025-01-20T14:21:44.613976+08:00] sql.INFO: [60.08] select * from `footer_category` where `id` = '31' limit 1 [] []
+[2025-01-20T14:21:44.630426+08:00] sql.INFO: [15.67] select `name` from `footer_category` where `website_id` = '55' [] []
+[2025-01-20T14:21:44.646259+08:00] sql.INFO: [15.19] update `footer_category` set `name` = '三农1', `website_id` = '55', `id` = '31', `footer_category`.`updated_at` = '2025-01-20 14:21:44' where `id` = '31' [] []
+[2025-01-20T14:21:55.882053+08:00] sql.INFO: [84.53] select * from `footer_category` where `id` = '31' limit 1 [] []
+[2025-01-20T14:21:55.961779+08:00] sql.INFO: [14.34] select `name` from `footer_category` where `website_id` = '55' [] []
+[2025-01-20T14:22:01.782571+08:00] sql.INFO: [13.63] select * from `footer_category` where `id` = '31' limit 1 [] []
+[2025-01-20T14:22:01.824877+08:00] sql.INFO: [41.27] select `name` from `footer_category` where `website_id` = '55' [] []
+[2025-01-20T14:22:01.848909+08:00] sql.INFO: [15.07] select * from `website` where `id` = '55' limit 1 [] []
+[2025-01-20T14:22:43.240522+08:00] sql.INFO: [15.78] select * from `footer_category` where `id` = '31' limit 1 [] []
+[2025-01-20T14:22:43.473943+08:00] sql.INFO: [232.52] select `name` from `footer_category` where `website_id` = '5' [] []
+[2025-01-20T14:22:43.490787+08:00] sql.INFO: [16.27] select * from `website` where `id` = '5' limit 1 [] []
+[2025-01-20T14:22:44.928951+08:00] sql.INFO: [14.2] update `footer_category` set `name` = '三农6', `website_id` = '5', `id` = '31', `footer_category`.`updated_at` = '2025-01-20 14:22:44' where `id` = '31' [] []
+[2025-01-20T14:24:08.124447+08:00] sql.INFO: [58.89] select `footer_category`.*, `website`.`website_name`, `website`.`id` as `website_id` from `footer_category` left join `website` on `website`.`id` = `footer_category`.`website_id` order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T14:24:08.145706+08:00] sql.INFO: [18.56] select count(*) as aggregate from `footer_category` [] []
+[2025-01-20T14:24:38.804085+08:00] sql.INFO: [17.09] select * from `footer_category` where `id` = '38' limit 1 [] []
+[2025-01-20T14:25:11.538267+08:00] sql.INFO: [17.2] select * from `footer_category` where `id` = '30' limit 1 [] []
+[2025-01-20T14:25:11.623559+08:00] sql.INFO: [84.5] delete from `footer_category` where `id` = '30' [] []
+[2025-01-20T14:25:11.871034+08:00] sql.INFO: [240.21] delete from `footer_content` where `fcat_id` = '30' [] []
+[2025-01-20T14:27:30.704229+08:00] sql.INFO: [53.92] select `footer_category`.*, `website`.`website_name`, `website`.`id` as `website_id` from `footer_category` left join `website` on `website`.`id` = `footer_category`.`website_id` where (`footer_category`.`name` like '%三农1%') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T14:27:34.201938+08:00] sql.INFO: [17.44] select `footer_category`.*, `website`.`website_name`, `website`.`id` as `website_id` from `footer_category` left join `website` on `website`.`id` = `footer_category`.`website_id` order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T14:27:34.217771+08:00] sql.INFO: [13.17] select count(*) as aggregate from `footer_category` [] []
+[2025-01-20T14:32:32.548235+08:00] sql.INFO: [85.4] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:33:02.181389+08:00] sql.INFO: [17.66] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:33:03.195012+08:00] sql.INFO: [16.49] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:33:04.129028+08:00] sql.INFO: [16.15] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:33:04.850066+08:00] sql.INFO: [15.74] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:33:14.288036+08:00] sql.INFO: [82.68] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:33:41.919107+08:00] sql.INFO: [16.2] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:33:42.845897+08:00] sql.INFO: [15.85] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:33:43.810908+08:00] sql.INFO: [16.82] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:33:44.779911+08:00] sql.INFO: [15.73] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:33:54.524715+08:00] sql.INFO: [344.29] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:34:01.508936+08:00] sql.INFO: [17.8] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:34:01.535359+08:00] sql.INFO: [17.34] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T14:34:01.551808+08:00] sql.INFO: [15.81] insert into `footer_content` (`fcat_id`, `con_title`, `content`, `list_title`) values ('32', '这你不行了吧', '哪能怎么样呢', '这个样子的吗') [] []
+[2025-01-20T14:34:09.072238+08:00] sql.INFO: [19.38] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:34:09.091362+08:00] sql.INFO: [18.21] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T14:34:32.579846+08:00] sql.INFO: [17.17] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:34:32.596706+08:00] sql.INFO: [15.97] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T14:34:33.674083+08:00] sql.INFO: [17.07] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:34:33.692229+08:00] sql.INFO: [17.06] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T14:35:18.154514+08:00] sql.INFO: [16.37] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:35:18.170982+08:00] sql.INFO: [15.73] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T14:35:19.117327+08:00] sql.INFO: [17.26] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:35:19.133513+08:00] sql.INFO: [15.43] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T14:35:28.784798+08:00] sql.INFO: [73.1] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:35:28.843397+08:00] sql.INFO: [16.12] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T14:46:55.790009+08:00] sql.INFO: [496.02] insert into `footer_content` (`fcat_id`, `con_title`, `content`, `list_title`) values ('32', '这你不行了吧', '哪能怎么样呢', '这个样子的吗') [] []
+[2025-01-20T14:47:45.249061+08:00] sql.INFO: [477.45] select `type` from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:47:45.320190+08:00] sql.INFO: [20.38] select * from `footer_content` where (`fcat_id` = '32') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T14:47:45.552740+08:00] sql.INFO: [231.23] select count(*) as aggregate from `footer_content` where (`fcat_id` = '32') [] []
+[2025-01-20T14:50:59.653031+08:00] sql.INFO: [287.35] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:51:02.502198+08:00] sql.INFO: [16.67] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:51:04.942065+08:00] sql.INFO: [232.33] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:51:17.840058+08:00] sql.INFO: [15.7] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:51:25.329806+08:00] sql.INFO: [72.18] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:51:25.374358+08:00] sql.INFO: [16.36] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T14:51:41.556673+08:00] sql.INFO: [15.77] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:51:41.789425+08:00] sql.INFO: [231.85] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T14:51:43.015544+08:00] sql.INFO: [232.05] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:51:43.032679+08:00] sql.INFO: [16.38] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T14:51:55.463748+08:00] sql.INFO: [66.35] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T14:52:20.104025+08:00] sql.INFO: [66.16] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T15:47:29.325898+08:00] sql.INFO: [64.02] select `type` from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T15:47:29.376290+08:00] sql.INFO: [16.17] select * from `footer_content` where (`fcat_id` = '32') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T15:47:29.392407+08:00] sql.INFO: [15.11] select count(*) as aggregate from `footer_content` where (`fcat_id` = '32') [] []
+[2025-01-20T15:47:46.466273+08:00] sql.INFO: [18.52] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T15:47:47.885897+08:00] sql.INFO: [444.45] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T15:50:51.880949+08:00] sql.INFO: [71.88] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T15:50:51.925603+08:00] sql.INFO: [16.4] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T15:51:28.699731+08:00] sql.INFO: [17.47] delete from `footer_content` where `id` = '25' [] []
+[2025-01-20T15:52:30.815164+08:00] sql.INFO: [54.12] select `type` from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T15:52:30.830887+08:00] sql.INFO: [14.77] select * from `footer_content` where (`fcat_id` = '32') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T15:52:30.845686+08:00] sql.INFO: [13.95] select count(*) as aggregate from `footer_content` where (`fcat_id` = '32') [] []
+[2025-01-20T15:52:41.249889+08:00] sql.INFO: [13.8] delete from `footer_content` where `id` = '26' [] []
+[2025-01-20T15:52:46.084595+08:00] sql.INFO: [14.44] select `type` from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T15:52:46.099815+08:00] sql.INFO: [14.4] select * from `footer_content` where (`fcat_id` = '32') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T15:52:46.115492+08:00] sql.INFO: [15.11] select count(*) as aggregate from `footer_content` where (`fcat_id` = '32') [] []
+[2025-01-20T15:52:53.445426+08:00] sql.INFO: [15.93] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T15:52:53.460776+08:00] sql.INFO: [14.23] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T15:52:53.475144+08:00] sql.INFO: [13.82] insert into `footer_content` (`fcat_id`, `con_title`, `content`) values ('32', '这你不行了吧', '哪能怎么样呢') [] []
+[2025-01-20T15:52:57.651548+08:00] sql.INFO: [14.23] select `type` from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T15:52:57.666909+08:00] sql.INFO: [14.59] select * from `footer_content` where (`fcat_id` = '32') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T15:52:57.816888+08:00] sql.INFO: [149.22] select count(*) as aggregate from `footer_content` where (`fcat_id` = '32') [] []
+[2025-01-20T15:56:06.017733+08:00] sql.INFO: [63.11] delete from `footer_content` where `id` = '27' [] []
+[2025-01-20T15:56:11.007854+08:00] sql.INFO: [15.94] select * from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T15:56:11.024651+08:00] sql.INFO: [15.78] select * from `footer_content` where `fcat_id` = '32' limit 1 [] []
+[2025-01-20T15:56:11.042324+08:00] sql.INFO: [17.09] insert into `footer_content` (`fcat_id`, `con_title`, `content`) values ('32', '这你不行了吧', '哪能怎么样呢') [] []
+[2025-01-20T15:56:13.815845+08:00] sql.INFO: [16.33] select `type` from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T15:56:13.832782+08:00] sql.INFO: [15.9] select * from `footer_content` where (`fcat_id` = '32') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T15:56:13.849178+08:00] sql.INFO: [15.55] select count(*) as aggregate from `footer_content` where (`fcat_id` = '32') [] []
+[2025-01-20T16:22:00.329197+08:00] sql.INFO: [280.7] select `footer_content`.*, `footer_category`.`type` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '80' limit 1 [] []
+[2025-01-20T16:22:28.284231+08:00] sql.INFO: [16.67] update `footer_content` set `id` = '180', `con_title` = '1115555333', `content` = '333333gn;soubg;ouirbg;osbg;ksdujgbh;kusbgk.xdbvksuhgsl;ng;rsghsruioghsouhvbduifhbisdrhbiuorhgo;rs', `list_title` = '和警告ighs', `footer_content`.`updated_at` = '2025-01-20 16:22:28' where `id` = '180' [] []
+[2025-01-20T16:32:45.028499+08:00] sql.INFO: [265.35] select * from `footer_content` where `id` = '180' limit 1 [] []
+[2025-01-20T16:32:53.222034+08:00] sql.INFO: [66.97] select * from `footer_content` where `id` = '18' limit 1 [] []
+[2025-01-20T16:32:54.311167+08:00] sql.INFO: [74.83] select * from `footer_content` where `id` = '18' limit 1 [] []
+[2025-01-20T16:32:56.323363+08:00] sql.INFO: [86.42] select * from `footer_content` where `id` = '18' limit 1 [] []
+[2025-01-20T16:32:57.407395+08:00] sql.INFO: [98.16] select * from `footer_content` where `id` = '18' limit 1 [] []
+[2025-01-20T16:33:25.557198+08:00] sql.INFO: [16.45] delete from `footer_content` where `id` = '80' [] []
+[2025-01-20T16:33:48.269058+08:00] sql.INFO: [15.72] select * from `footer_content` where `id` = '28' limit 1 [] []
+[2025-01-20T16:33:48.521430+08:00] sql.INFO: [16.93] update `footer_content` set `id` = '28', `con_title` = '1115555333', `content` = '333333gn;soubg;ouirbg;osbg;ksdujgbh;kusbgk.xdbvksuhgsl;ng;rsghsruioghsouhvbduifhbisdrhbiuorhgo;rs', `list_title` = '和警告ighs', `footer_content`.`updated_at` = '2025-01-20 16:33:48' where `id` = '28' [] []
+[2025-01-20T16:33:53.211826+08:00] sql.INFO: [16.95] select `type` from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T16:33:53.228933+08:00] sql.INFO: [16.37] select * from `footer_content` where (`fcat_id` = '32') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T16:33:53.269666+08:00] sql.INFO: [39.98] select count(*) as aggregate from `footer_content` where (`fcat_id` = '32') [] []
+[2025-01-20T16:34:04.350601+08:00] sql.INFO: [237.83] select * from `footer_content` where `id` = '28' limit 1 [] []
+[2025-01-20T16:34:04.367327+08:00] sql.INFO: [15.57] update `footer_content` set `id` = '28', `con_title` = '666666', `content` = '333333gn;soubg;ouirbg;osbg;ksdujgbh;kusbgk.xdbvksuhgsl;ng;rsghsruioghsouhvbduifhbisdrhbiuorhgo;rs', `list_title` = '和警告ighs', `footer_content`.`updated_at` = '2025-01-20 16:34:04' where `id` = '28' [] []
+[2025-01-20T16:34:12.510745+08:00] sql.INFO: [16.58] select `type` from `footer_category` where `id` = '32' limit 1 [] []
+[2025-01-20T16:34:12.528359+08:00] sql.INFO: [16.36] select * from `footer_content` where (`fcat_id` = '32') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T16:34:12.545457+08:00] sql.INFO: [16.26] select count(*) as aggregate from `footer_content` where (`fcat_id` = '32') [] []
+[2025-01-20T16:40:13.326432+08:00] sql.INFO: [74.13] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '28' [] []
+[2025-01-20T16:40:35.717550+08:00] sql.INFO: [70.16] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '28' limit 1 [] []
+[2025-01-20T16:40:35.976517+08:00] sql.INFO: [14.52] update `footer_content` set `id` = '28', `con_title` = '666666', `content` = '333333gn;soubg;ouirbg;osbg;ksdujgbh;kusbgk.xdbvksuhgsl;ng;rsghsruioghsouhvbduifhbisdrhbiuorhgo;rs', `list_title` = '和警告ighs', `footer_content`.`updated_at` = '2025-01-20 16:40:35' where `id` = '28' [] []
+[2025-01-20T16:40:51.917943+08:00] sql.INFO: [16.79] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '28' limit 1 [] []
+[2025-01-20T16:40:51.934293+08:00] sql.INFO: [15.33] update `footer_content` set `id` = '28', `con_title` = '666666', `content` = '333333gn;soubg;ouirbg;osbg;ksdujgbh;kusbgk.xdbvksuhgsl;ng;rsghsruioghsouhvbduifhbisdrhbiuorhgo;rs', `list_title` = '和警告ighs', `footer_content`.`updated_at` = '2025-01-20 16:40:51' where `id` = '28' [] []
+[2025-01-20T16:40:52.941819+08:00] sql.INFO: [16.17] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '28' limit 1 [] []
+[2025-01-20T16:40:52.958463+08:00] sql.INFO: [15.71] update `footer_content` set `id` = '28', `con_title` = '666666', `content` = '333333gn;soubg;ouirbg;osbg;ksdujgbh;kusbgk.xdbvksuhgsl;ng;rsghsruioghsouhvbduifhbisdrhbiuorhgo;rs', `list_title` = '和警告ighs', `footer_content`.`updated_at` = '2025-01-20 16:40:52' where `id` = '28' [] []
+[2025-01-20T16:41:02.635200+08:00] sql.INFO: [70.91] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '28' limit 1 [] []
+[2025-01-20T16:41:19.511113+08:00] sql.INFO: [16.57] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '28' limit 1 [] []
+[2025-01-20T16:41:20.249919+08:00] sql.INFO: [16.7] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '28' limit 1 [] []
+[2025-01-20T16:41:21.202163+08:00] sql.INFO: [16.39] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '28' limit 1 [] []
+[2025-01-20T16:41:30.725354+08:00] sql.INFO: [66.07] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '28' limit 1 [] []
+[2025-01-20T16:42:02.627645+08:00] sql.INFO: [69.01] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '28' limit 1 [] []
+[2025-01-20T16:42:25.598102+08:00] sql.INFO: [69.29] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '28' limit 1 [] []
+[2025-01-20T16:42:25.905801+08:00] sql.INFO: [15.88] update `footer_content` set `id` = '28', `con_title` = '666666', `content` = '333333gn;soubg;ouirbg;osbg;ksdujgbh;kusbgk.xdbvksuhgsl;ng;rsghsruioghsouhvbduifhbisdrhbiuorhgo;rs', `footer_content`.`updated_at` = '2025-01-20 16:42:25' where `id` = '28' [] []
+[2025-01-20T16:43:01.845660+08:00] sql.INFO: [16.81] select `type` from `footer_category` where `id` = '13' limit 1 [] []
+[2025-01-20T16:43:01.862143+08:00] sql.INFO: [15.51] select * from `footer_content` where (`fcat_id` = '13') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T16:43:01.878173+08:00] sql.INFO: [15.18] select count(*) as aggregate from `footer_content` where (`fcat_id` = '13') [] []
+[2025-01-20T16:43:26.492853+08:00] sql.INFO: [16.03] select * from `footer_category` where `id` = '13' limit 1 [] []
+[2025-01-20T16:43:41.533249+08:00] sql.INFO: [16.92] select * from `footer_category` where `id` = '13' limit 1 [] []
+[2025-01-20T16:44:28.079721+08:00] sql.INFO: [72.23] select * from `footer_category` where `id` = '13' limit 1 [] []
+[2025-01-20T16:44:42.612913+08:00] sql.INFO: [73.41] select * from `footer_category` where `id` = '13' limit 1 [] []
+[2025-01-20T16:44:42.657918+08:00] sql.INFO: [17.36] insert into `footer_content` (`fcat_id`, `con_title`, `content`, `list_title`) values ('13', '这你不行了吧', '哪能怎么样呢', '这个样子的吗') [] []
+[2025-01-20T16:44:47.059790+08:00] sql.INFO: [188.04] select `type` from `footer_category` where `id` = '13' limit 1 [] []
+[2025-01-20T16:44:47.076966+08:00] sql.INFO: [16.42] select * from `footer_content` where (`fcat_id` = '13') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T16:44:47.093383+08:00] sql.INFO: [15.43] select count(*) as aggregate from `footer_content` where (`fcat_id` = '13') [] []
+[2025-01-20T16:44:57.694857+08:00] sql.INFO: [24.38] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '17' limit 1 [] []
+[2025-01-20T16:45:01.912320+08:00] sql.INFO: [25.53] select `footer_content`.*, `footer_category`.`type`, `footer_category`.`id` as `fcat_id` from `footer_content` left join `footer_category` on `footer_category`.`id` = `fcat_id` where `footer_content`.`id` = '17' limit 1 [] []
+[2025-01-20T16:45:01.937917+08:00] sql.INFO: [17.04] update `footer_content` set `id` = '17', `con_title` = '666666', `content` = '333333gn;soubg;ouirbg;osbg;ksdujgbh;kusbgk.xdbvksuhgsl;ng;rsghsruioghsouhvbduifhbisdrhbiuorhgo;rs', `list_title` = '和警告ighs', `footer_content`.`updated_at` = '2025-01-20 16:45:01' where `id` = '17' [] []
+[2025-01-20T16:45:11.366143+08:00] sql.INFO: [125.9] select `type` from `footer_category` where `id` = '13' limit 1 [] []
+[2025-01-20T16:45:11.382737+08:00] sql.INFO: [15.61] select * from `footer_content` where (`fcat_id` = '13') order by `updated_at` desc limit 10 offset 0 [] []
+[2025-01-20T16:45:11.401774+08:00] sql.INFO: [17.86] select count(*) as aggregate from `footer_content` where (`fcat_id` = '13') [] []