chuweiqiang 11 tháng trước cách đây
mục cha
commit
8975f5e382

+ 1 - 2
.idea/workspace.xml

@@ -2,7 +2,6 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
-      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/runtime/log/single.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single.log" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/runtime/log/single_sql.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single_sql.log" afterDir="false" />
     </list>
@@ -600,7 +599,7 @@
       <workItem from="1714109915098" duration="14739000" />
       <workItem from="1714177835625" duration="26205000" />
       <workItem from="1714351055428" duration="25649000" />
-      <workItem from="1714436787305" duration="20481000" />
+      <workItem from="1714436787305" duration="20650000" />
     </task>
     <servers />
   </component>

+ 2 - 2
application/synth/controller/BillHeader.php

@@ -24,7 +24,7 @@ class BillHeader extends Controller
         $query = $this->_query($this->table);
         $this->type_arr = \app\common\model\BillType::getType();
         $where= [];
-        $were[] = ['i.is_deleted','=',0];
+        $where[] = ['i.is_deleted','=',0];
         if($this->request->request('user_name'))    $where[]= ['m.name','like','%'.$this->request->request('user_name').'%'];
         if($this->request->request('title'))         $where[]= ['i.title','like','%'.$this->request->request('title').'%'];
         if($this->request->request('type'))         $where[]= ['i.type','=',$this->request->request('type')];
@@ -68,4 +68,4 @@ class BillHeader extends Controller
 
 
 
-}
+}

+ 95 - 0
runtime/log/single.log

@@ -94757,3 +94757,98 @@
   8 => 'type_arr',
   9 => 'pagehtml',
 ) ]
+---------------------------------------------------------------
+
+[2024-04-30T16:31:43+08:00] 127.0.0.1 GET gaoyx.com/admin.html
+[运行时间:1.507028s] [吞吐率:0.66req/s] [内存消耗:3,441.79kb] [文件加载:355]
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/zh-cn.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/en-us.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\thinkphp\lang\zh-cn.php
+[ info ] [ ROUTE ] array (
+)
+[ info ] [ HEADER ] array (
+  'cookie' => 'PHPSESSID=dm3pu3g138khtocrb0pn2kd3f6; SECKEY_ABVK=5REnkKF3MDpo+lZPEvPfM+zwzFDAIoJPVCk/R1RWXswCPosf0fAILwH1WMgh7MsVEMbhS6yj4Ba/Ck9585JnPg%3D%3D; BMAP_SECKEY=5REnkKF3MDpo-lZPEvPfM-zwzFDAIoJPVCk_R1RWXsw5fvGkKH_C0A4s5-PiIBuQKc-xUyJsu-uYpNw8lGIMOhStXjey8aGcMwI_5VeSrGEGZSxUp0GHnNOLk7VjodMbkBpRY-UnnirO8mfzJse5Xb5-qAeDPCNNjjBT9ddvF1BhG8ZGtheg_U3SxmJsqggyboaNFx75I5aQ3WfDx5om4jPZX_fgyKWNDnoTWQbYunk',
+  'accept-language' => 'zh-CN,zh;q=0.9',
+  'accept-encoding' => 'gzip, deflate, br, zstd',
+  'sec-fetch-dest' => 'document',
+  'sec-fetch-user' => '?1',
+  'sec-fetch-mode' => 'navigate',
+  'sec-fetch-site' => 'same-origin',
+  'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
+  'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36',
+  'upgrade-insecure-requests' => '1',
+  'sec-ch-ua-platform' => '"Windows"',
+  'sec-ch-ua-mobile' => '?0',
+  'sec-ch-ua' => '"Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"',
+  'cache-control' => 'max-age=0',
+  'connection' => 'keep-alive',
+  'host' => 'gaoyx.com',
+  'content-length' => '',
+  'content-type' => '',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ VIEW ] D:\project\gyx\gaoyixia\application\admin\view\index\index.html [ array (
+  0 => 'app',
+  1 => 'request',
+  2 => 'csrf_state',
+  3 => 'csrf_message',
+  4 => 'title',
+  5 => 'menus',
+  6 => 'forum',
+  7 => 'datum',
+  8 => 'article',
+  9 => 'video',
+  10 => 'order',
+  11 => 'level_order',
+  12 => 'refund_order',
+  13 => 'bill_apply',
+  14 => 'datum_report',
+  15 => 'article_report',
+  16 => 'video_report',
+) ]
+---------------------------------------------------------------
+
+[2024-04-30T16:31:44+08:00] 127.0.0.1 GET gaoyx.com/synth/bill_header/index.html?spm=m-307-308-310
+[运行时间:0.387688s] [吞吐率:2.58req/s] [内存消耗:786.59kb] [文件加载:166]
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/zh-cn.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/en-us.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\thinkphp\lang\zh-cn.php
+[ info ] [ ROUTE ] array (
+)
+[ info ] [ HEADER ] array (
+  'cookie' => 'PHPSESSID=dm3pu3g138khtocrb0pn2kd3f6; BMAP_SECKEY=5REnkKF3MDpo-lZPEvPfM-zwzFDAIoJPVCk_R1RWXsw5fvGkKH_C0A4s5-PiIBuQKc-xUyJsu-uYpNw8lGIMOhStXjey8aGcMwI_5VeSrGEGZSxUp0GHnNOLk7VjodMbkBpRY-UnnirO8mfzJse5Xb5-qAeDPCNNjjBT9ddvF1BhG8ZGtheg_U3SxmJsqggyboaNFx75I5aQ3WfDx5om4jPZX_fgyKWNDnoTWQbYunk; SECKEY_ABVK=5REnkKF3MDpo+lZPEvPfM+zwzFDAIoJPVCk/R1RWXszSb1Wee6JF793uvqtNZtI4p9xjwyg0w8ewbx40P5Dctw%3D%3D',
+  'accept-language' => 'zh-CN,zh;q=0.9',
+  'accept-encoding' => 'gzip, deflate, br, zstd',
+  'referer' => 'https://gaoyx.com/admin.html',
+  'sec-fetch-dest' => 'empty',
+  'sec-fetch-mode' => 'cors',
+  'sec-fetch-site' => 'same-origin',
+  'sec-ch-ua-platform' => '"Windows"',
+  'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36',
+  'sec-ch-ua-mobile' => '?0',
+  'x-requested-with' => 'XMLHttpRequest',
+  'accept' => '*/*',
+  'sec-ch-ua' => '"Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"',
+  'connection' => 'keep-alive',
+  'host' => 'gaoyx.com',
+  'content-length' => '',
+  'content-type' => '',
+)
+[ info ] [ PARAM ] array (
+  'spm' => 'm-307-308-310',
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ VIEW ] D:\project\gyx\gaoyixia\application\synth\view\bill_header\index.html [ array (
+  0 => 'page',
+  1 => 'list',
+  2 => 'table',
+  3 => 'app',
+  4 => 'request',
+  5 => 'csrf_state',
+  6 => 'csrf_message',
+  7 => 'title',
+  8 => 'type_arr',
+  9 => 'pagehtml',
+) ]

+ 37 - 0
runtime/log/single_sql.log

@@ -5083,3 +5083,40 @@ JPush\\Exceptions\\APIRequestException -- [1011]: cannot find user by this audie
 [ sql ] [ SQL ] SHOW COLUMNS FROM `dd_bill_header` [ RunTime:0.195029s ]
 [ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_bill_header` `i` LEFT JOIN `dd_store_member` `m` ON `m`.`id`=`i`.`user_id` LEFT JOIN `dd_bill_type` `b` ON `b`.`id`=`i`.`type` [ RunTime:0.059413s ]
 [ sql ] [ SQL ] SELECT `i`.*,b.title type_name,`m`.`headimg`,m.name as user_name,`m`.`phone` FROM `dd_bill_header` `i` LEFT JOIN `dd_store_member` `m` ON `m`.`id`=`i`.`user_id` LEFT JOIN `dd_bill_type` `b` ON `b`.`id`=`i`.`type` ORDER BY `i`.`id` DESC LIMIT 0,20 [ RunTime:0.047093s ]
+---------------------------------------------------------------
+
+[2024-04-30T16:31:43+08:00] 127.0.0.1 GET gaoyx.com/admin.html
+[ sql ] [ DB ] CONNECT:[ UseTime:0.062899s ] mysql:host=182.40.104.187;port=3306;dbname=gaoyixia_hdlkeji;charset=utf8mb4
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_system_user` [ RunTime:0.040082s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_system_user` WHERE  `id` = 10000 LIMIT 1 [ RunTime:0.061795s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_system_menu` [ RunTime:0.042113s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_system_menu` WHERE  `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.061818s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_forum` [ RunTime:0.046836s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_forum` `f` LEFT JOIN `dd_store_member` `u` ON `u`.`id`=`f`.`user_id` WHERE  `f`.`is_deleted` = 0  AND `f`.`is_new` = 1 ORDER BY `sort` DESC,`f`.`id` DESC [ RunTime:0.058646s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_datum` [ RunTime:0.040357s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_datum` `f` WHERE  `f`.`is_deleted` = 0  AND `f`.`is_new` = 1 [ RunTime:0.058788s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_article` [ RunTime:0.039000s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_article` `f` WHERE  `f`.`is_deleted` = 0  AND `f`.`is_new` = 1 [ RunTime:0.059922s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_video` [ RunTime:0.040910s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_video` `f` WHERE  `f`.`is_deleted` = 0  AND `f`.`is_new` = 1 [ RunTime:0.059641s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_store_order` [ RunTime:0.042832s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_store_order` `f` WHERE  `f`.`is_deleted` = 0  AND `f`.`is_new` = 1 [ RunTime:0.058911s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_level_order` [ RunTime:0.038784s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_level_order` `f` WHERE  `f`.`is_deleted` = 0  AND `f`.`is_new` = 1 [ RunTime:0.059284s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_store_order_refund` [ RunTime:0.039506s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_store_order_refund` `f` WHERE  `f`.`is_deleted` = 0  AND `f`.`is_new` = 1 [ RunTime:0.062210s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_bill_apply` [ RunTime:0.037146s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_bill_apply` `f` WHERE  `f`.`is_deleted` = 0  AND `f`.`is_new` = 1 [ RunTime:0.058091s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_report` [ RunTime:0.039645s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_report` `f` WHERE  `f`.`is_deleted` = 0  AND `f`.`is_new` = 1  AND `type` = 10 [ RunTime:0.070361s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_report` `f` WHERE  `f`.`is_deleted` = 0  AND `f`.`is_new` = 1  AND `type` = 8 [ RunTime:0.064583s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_report` `f` WHERE  `f`.`is_deleted` = 0  AND `f`.`is_new` = 1  AND `type` = 2 [ RunTime:0.060477s ]
+---------------------------------------------------------------
+
+[2024-04-30T16:31:44+08:00] 127.0.0.1 GET gaoyx.com/synth/bill_header/index.html?spm=m-307-308-310
+[ sql ] [ DB ] CONNECT:[ UseTime:0.075689s ] mysql:host=182.40.104.187;port=3306;dbname=gaoyixia_hdlkeji;charset=utf8mb4
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_bill_type` [ RunTime:0.054165s ]
+[ sql ] [ SQL ] SELECT `id`,`title` FROM `dd_bill_type` WHERE  `is_deleted` = 0  AND `status` = 1 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.066015s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_bill_header` [ RunTime:0.046620s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_bill_header` `i` LEFT JOIN `dd_store_member` `m` ON `m`.`id`=`i`.`user_id` LEFT JOIN `dd_bill_type` `b` ON `b`.`id`=`i`.`type` [ RunTime:0.065035s ]
+[ sql ] [ SQL ] SELECT `i`.*,b.title type_name,`m`.`headimg`,m.name as user_name,`m`.`phone` FROM `dd_bill_header` `i` LEFT JOIN `dd_store_member` `m` ON `m`.`id`=`i`.`user_id` LEFT JOIN `dd_bill_type` `b` ON `b`.`id`=`i`.`type` ORDER BY `i`.`id` DESC LIMIT 0,20 [ RunTime:0.047956s ]