Bläddra i källkod

修改-网站修改

rkljw 5 månader sedan
förälder
incheckning
55018bc32b
3 ändrade filer med 5 tillägg och 2 borttagningar
  1. 1 1
      app/JsonRpc/WebsiteService.php
  2. 1 1
      runtime/hyperf.pid
  3. 3 0
      runtime/logs/hyperf.log

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -804,8 +804,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 - 1
runtime/hyperf.pid

@@ -1 +1 @@
-47379
+53585

+ 3 - 0
runtime/logs/hyperf.log

@@ -7560,3 +7560,6 @@
 [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` [] []