Răsfoiți Sursa

修改网站

rkljw 5 luni în urmă
părinte
comite
213f43d353
3 a modificat fișierele cu 27 adăugiri și 1 ștergeri
  1. 1 1
      app/JsonRpc/WebsiteService.php
  2. 1 0
      runtime/hyperf.pid
  3. 25 0
      runtime/logs/hyperf.log

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -997,8 +997,8 @@ class WebsiteService implements WebsiteServiceInterface
             //再取差集 进行对比
             $differenceIDS =  array_merge(array_diff($reqidsIntersect, $categoryIds),array_diff($categoryIds,$reqidsIntersect));
             var_dump("差集:",$differenceIDS);
+            $arr_ids = [];
             if(count($differenceIDS)>0){
-                $arr_ids = [];
                 foreach ($differenceIDS as $vv){
                     $idV =  $this->getUnderlingUIds(intval($vv));
                     $ids_arrV = explode(",", $idV);

+ 1 - 0
runtime/hyperf.pid

@@ -0,0 +1 @@
+5358

+ 25 - 0
runtime/logs/hyperf.log

@@ -7560,3 +7560,28 @@
 [2024-11-08T07:26:14.635415+00:00] sql.INFO: [1.87] select * from `category` where (`pid` = '16') [] []
 [2024-11-08T07:26:14.637723+00:00] sql.INFO: [1.93] select * from `category` where `id` in ('16') [] []
 [2024-11-08T07:26:14.642610+00:00] sql.INFO: [4.31] insert into `website_category` (`alias`, `category_id`, `name`, `pid`, `pid_arr`, `seo_description`, `seo_keywords`, `seo_title`, `sort`, `website_id`) values ('三农探索', '16', '三农探索', '0', '[0]', '三农探索', '三农探索', '三农探索', '0', '79') [] []
+[2024-11-08T08:16:03.774652+00:00] sql.INFO: [11.94] select * from `website` limit 10 offset 0 [] []
+[2024-11-08T08:16:03.802988+00:00] sql.INFO: [3.39] select `website_id`, `name`, `alias`, `category_id` from `website_category` where `website_category`.`website_id` in (1, 2, 3, 5, 6, 8, 9, 31, 32, 33) and (`pid` = '0') [] []
+[2024-11-08T08:16:03.809504+00:00] sql.INFO: [1.98] select count(*) as aggregate from `website` [] []
+[2024-11-08T10:21:02.662107+00:00] sql.INFO: [4.19] select * from `website_category` where (`website_id` = '79' and `pid` = '0') [] []
+[2024-11-08T10:21:02.675541+00:00] sql.INFO: [2.93] select * from `category` where (`pid` = '2') [] []
+[2024-11-08T10:21:02.771663+00:00] sql.INFO: [1.99] select count(`id`) as aggregate from `category` where (`pid` = '2') [] []
+[2024-11-08T10:21:02.773966+00:00] sql.INFO: [1.87] select * from `category` where (`pid` = '8') [] []
+[2024-11-08T10:21:02.776190+00:00] sql.INFO: [1.6] select count(`id`) as aggregate from `category` where (`pid` = '8') [] []
+[2024-11-08T10:21:02.778294+00:00] sql.INFO: [1.81] select * from `category` where (`pid` = '9') [] []
+[2024-11-08T10:21:02.780079+00:00] sql.INFO: [1.43] select count(`id`) as aggregate from `category` where (`pid` = '2') [] []
+[2024-11-08T10:21:02.781556+00:00] sql.INFO: [1.19] select * from `category` where (`pid` = '40') [] []
+[2024-11-08T10:21:02.783139+00:00] sql.INFO: [1.32] select * from `category` where (`pid` = '1') [] []
+[2024-11-08T10:21:02.785616+00:00] sql.INFO: [1.43] select count(`id`) as aggregate from `category` where (`pid` = '1') [] []
+[2024-11-08T10:21:02.787415+00:00] sql.INFO: [1.45] select * from `category` where (`pid` = '3') [] []
+[2024-11-08T10:21:02.789281+00:00] sql.INFO: [1.38] select count(`id`) as aggregate from `category` where (`pid` = '3') [] []
+[2024-11-08T10:21:02.790770+00:00] sql.INFO: [1.24] select * from `category` where (`pid` = '45') [] []
+[2024-11-08T10:21:02.792298+00:00] sql.INFO: [1.25] select count(`id`) as aggregate from `category` where (`pid` = '1') [] []
+[2024-11-08T10:21:02.794038+00:00] sql.INFO: [1.48] select * from `category` where (`pid` = '10') [] []
+[2024-11-08T10:21:02.795707+00:00] sql.INFO: [1.39] select count(`id`) as aggregate from `category` where (`pid` = '1') [] []
+[2024-11-08T10:21:02.797295+00:00] sql.INFO: [1.22] select * from `category` where (`pid` = '41') [] []
+[2024-11-08T10:21:02.798788+00:00] sql.INFO: [1.21] select count(`id`) as aggregate from `category` where (`pid` = '1') [] []
+[2024-11-08T10:21:02.800360+00:00] sql.INFO: [1.32] select * from `category` where (`pid` = '51') [] []
+[2024-11-08T10:21:02.802067+00:00] sql.INFO: [1.44] select * from `category` where (`pid` = '16') [] []
+[2024-11-08T10:21:02.803824+00:00] sql.INFO: [1.37] select * from `category` where `id` in ('2', '40', '8', '9', '1', '51', '41', '10', '3', '45', '16') [] []
+[2024-11-08T10:21:02.812007+00:00] sql.INFO: [5.98] insert into `website_category` (`alias`, `category_id`, `name`, `pid`, `pid_arr`, `seo_description`, `seo_keywords`, `seo_title`, `sort`, `website_id`) values ('政策法规', '1', '政策法规', '0', '[0]', '政策法规', '政策法规', '政策法规', '1', '79'), ('三农之窗', '2', '三农之窗', '0', '[0]', '法务信息', '法务信息', '法务信息', '1', '79'), ('测试', '3', '测试', '1', '[1]', '1', '1', '1', '1', '79'), ('刘佳伟钱多到花不完', '8', '刘佳伟钱多到花不完', '2', '[2]', '2222222222222', '22222222222222222', '2222222222', '30', '79'), ('四级', '9', '四级', '8', '[5,7,8]', '111', '11', '11', '1', '79'), ('政务信息2', '10', '政务信息2', '1', '[1]', '33', '22', '11', '0', '79'), ('三农探索', '16', '三农探索', '0', '[0]', '三农探索', '三农探索', '三农探索', '0', '79'), ('ceshi', '40', 'ceshi', '2', '{"0":"1","2":"2"}', '描述', '关键词', '标题', '0', '79'), ('刘佳伟亲自测试2', '41', '刘佳伟亲自测试2', '1', '[1]', '测试描述', '测试关键词', '测试标题3', '2', '79'), ('政策法规', '45', '政策法规', '3', '[0]', '政策法规', '政策法规', '政策法规', '1', '79'), ('测试数据', '51', '测试数据', '1', '[1]', '错了', '错了', '错了', '0', '79') [] []