chuweiqiang 1 năm trước cách đây
mục cha
commit
eb22e98313

+ 1 - 2
.idea/workspace.xml

@@ -4,7 +4,6 @@
     <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$/application/api/controller/LevelOrder.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/LevelOrder.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/api/controller/Press.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Press.php" 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>
@@ -472,7 +471,7 @@
       <workItem from="1698884435322" duration="8152000" />
       <workItem from="1698970955557" duration="1195000" />
       <workItem from="1699857946428" duration="110000" />
-      <workItem from="1699922141145" duration="9929000" />
+      <workItem from="1699922141145" duration="10404000" />
     </task>
     <servers />
   </component>

+ 3 - 0
application/api/controller/LevelOrder.php

@@ -409,6 +409,9 @@ class LevelOrder extends Base
             $phone = input('post.phone');
             $email = input('post.email');*/
         $post = input('post.');
+        if(!isset($post['remark'])){
+            $post['remark'] = "";
+        }
         $order_info = \app\common\model\LevelOrder::where('id',$order_id)->find()->toArray();
         if(!$order_info['pay_state'])$this->error('订单未支付');
         if(BillApply::checkBillApply($order_id,1)) $this->error('已申请开票');

+ 85 - 0
runtime/log/single.log

@@ -3505,3 +3505,88 @@
   8 => 'type_arr',
   9 => 'pagehtml',
 ) ]
+---------------------------------------------------------------
+
+[2023-11-14T16:22:55+08:00] 127.0.0.1 GET gaoyx.com/admin.html
+[运行时间:1.889908s] [吞吐率:0.53req/s] [内存消耗:14,776.69kb] [文件加载:337]
+[ 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=ggs6jcon9nekmqrsadp7rbn32o; SECKEY_ABVK=hgUeSxUMjE7JdGolYAJRWsEYm3+CwHGJqysSuMIcyK8%3D; BMAP_SECKEY=wiMOia_FApSvSnk9xDGpuGeMGTNFYCdHaHvabSBwTNNsu5nNa1ZOOPLj73A4JgJ6aUQ01Du3BjOsQ2HQcDRzKhO9Oh0RJAl3b-KKnajYgDYySYQGNtEcM52LfVTiU6_ZJKlxdkv5IJivCNIaA44NEJdejbjXhVQ95u3M_eklKJfsEHt0ElYxzt33IUseREpi',
+  'accept-language' => 'zh-CN,zh;q=0.9',
+  'accept-encoding' => 'gzip, deflate, br',
+  'referer' => 'https://gaoyx.com/admin.html',
+  '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/119.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="119", "Chromium";v="119", "Not?A_Brand";v="24"',
+  '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',
+) ]
+---------------------------------------------------------------
+
+[2023-11-14T16:22:56+08:00] 127.0.0.1 GET gaoyx.com/synth/bill_apply/index.html?spm=m-307-308-324
+[运行时间:0.776240s] [吞吐率:1.29req/s] [内存消耗:4,820.82kb] [文件加载: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=ggs6jcon9nekmqrsadp7rbn32o; SECKEY_ABVK=hgUeSxUMjE7JdGolYAJRWsEYm3+CwHGJqysSuMIcyK8%3D; BMAP_SECKEY=wiMOia_FApSvSnk9xDGpuGeMGTNFYCdHaHvabSBwTNNsu5nNa1ZOOPLj73A4JgJ6aUQ01Du3BjOsQ2HQcDRzKhO9Oh0RJAl3b-KKnajYgDYySYQGNtEcM52LfVTiU6_ZJKlxdkv5IJivCNIaA44NEJdejbjXhVQ95u3M_eklKJfsEHt0ElYxzt33IUseREpi',
+  'accept-language' => 'zh-CN,zh;q=0.9',
+  'accept-encoding' => 'gzip, deflate, br',
+  '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/119.0.0.0 Safari/537.36',
+  'sec-ch-ua-mobile' => '?0',
+  'x-requested-with' => 'XMLHttpRequest',
+  'accept' => '*/*',
+  'sec-ch-ua' => '"Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"',
+  'connection' => 'keep-alive',
+  'host' => 'gaoyx.com',
+  'content-length' => '',
+  'content-type' => '',
+)
+[ info ] [ PARAM ] array (
+  'spm' => 'm-307-308-324',
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ VIEW ] D:\project\gyx\gaoyixia\application\synth\view\bill_apply\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',
+) ]

+ 19 - 0
runtime/log/single_sql.log

@@ -928,3 +928,22 @@
 [ sql ] [ SQL ] SHOW COLUMNS FROM `dd_bill_apply` [ RunTime:0.102075s ]
 [ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_bill_apply` `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.108971s ]
 [ sql ] [ SQL ] SELECT `i`.*,b.title type_name,`m`.`headimg`,m.name as user_name,`m`.`phone` FROM `dd_bill_apply` `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.104605s ]
+---------------------------------------------------------------
+
+[2023-11-14T16:22:55+08:00] 127.0.0.1 GET gaoyx.com/admin.html
+[ sql ] [ DB ] CONNECT:[ UseTime:0.154407s ] mysql:host=120.79.86.50;port=3306;dbname=gaoyixia_hdlkeji;charset=utf8mb4
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_system_user` [ RunTime:0.101316s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_system_user` WHERE  `id` = 10000 LIMIT 1 [ RunTime:0.103427s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_system_menu` [ RunTime:0.108586s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_system_menu` WHERE  `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.100864s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_system_config` [ RunTime:0.102595s ]
+[ sql ] [ SQL ] SELECT `name`,`value` FROM `dd_system_config` [ RunTime:0.935852s ]
+---------------------------------------------------------------
+
+[2023-11-14T16:22:56+08:00] 127.0.0.1 GET gaoyx.com/synth/bill_apply/index.html?spm=m-307-308-324
+[ sql ] [ DB ] CONNECT:[ UseTime:0.163432s ] mysql:host=120.79.86.50;port=3306;dbname=gaoyixia_hdlkeji;charset=utf8mb4
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_bill_type` [ RunTime:0.101215s ]
+[ sql ] [ SQL ] SELECT `id`,`title` FROM `dd_bill_type` WHERE  `is_deleted` = 0  AND `status` = 1 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.103332s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_bill_apply` [ RunTime:0.106038s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_bill_apply` `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.104043s ]
+[ sql ] [ SQL ] SELECT `i`.*,b.title type_name,`m`.`headimg`,m.name as user_name,`m`.`phone` FROM `dd_bill_apply` `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.115242s ]