基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-12 00:57:58 HTTP/1.1 GET : fyytiu.saascdn.co/cart
- 运行时间 : 0.173060s [ 吞吐率:5.78req/s ] 内存消耗:2,211.46kb 文件加载:268
- 查询信息 : [耗时:0.048209s/0.173060 27.86% ] 22 queries ,7 writes
- 缓存信息 : 11 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=vbb2c78md884opc9tr6imeafo2
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000284s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000040s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000050s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000080s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'cart',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'fyytiu.saascdn.co',
'x-forwarded-for' => '216.73.216.159',
'accept-encoding' => 'gzip, br, zstd, deflate',
'accept' => '*/*',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'host' => 'fyytiu.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004314s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000091s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000088s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1698053856472:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Cart->index[ /wwwroot/application/index/controller/Cart.php ]
- [ VIEW ] /wwwroot/template/venture/template/cart_index.html [ array (
0 => 'controller_name',
1 => 'action_name',
2 => 'lang_count',
3 => 'lang_array',
4 => 'theme_key',
5 => 'theme_id',
6 => 'theme_name',
7 => 'hook_rute',
8 => 'theme_arr',
9 => 'template_name',
10 => 'payment_icons',
11 => 'payment',
12 => 'theme',
13 => 'theme_diy_mode',
14 => 'theme_config',
15 => 'icon_image',
16 => 'head_code',
17 => 'end_code',
18 => 'controllername',
19 => 'actionname',
20 => 'user',
21 => 'language',
22 => 'lang',
23 => 'is_rtl_lang',
24 => 'site',
25 => 'config',
26 => 'currency_switch',
27 => 'currency_list',
28 => 'currency_site',
29 => 'currency',
30 => 'cart',
31 => 'subscribing',
32 => 'login',
33 => 'policies',
34 => 'is_mobile',
35 => 'not_show_login',
36 => 'customer_login_status',
37 => 'config_site_version',
38 => 'product_id',
39 => 'subtotal',
40 => 'discount',
41 => 'discount_gift',
42 => 'discount_gift_fee',
43 => 'total',
44 => 'discount_format',
45 => 'cart_info',
46 => 'order_info',
47 => 'order_remark',
48 => 'total_format',
49 => 'free_shipping_tips',
50 => 'form_type',
51 => 'page_type',
52 => 'seotitle',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000097s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001828s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001743s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001696s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.003185s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001371s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001247s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000071s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001739s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000079s ]
- 1/19 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004314s ] [0.004314s/0.018046s=23.91%]
- 2/19 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.003185s ] [0.003185s/0.018046s=17.65%]
- 3/19 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001828s ] [0.001828s/0.018046s=10.13%]
- 4/19 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001743s ] [0.001743s/0.018046s=9.66%]
- 5/19 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001739s ] [0.001739s/0.018046s=9.64%]
- 6/19 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001696s ] [0.001696s/0.018046s=9.40%]
- 7/19 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001371s ] [0.001371s/0.018046s=7.60%]
- 8/19 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001247s ] [0.001247s/0.018046s=6.91%]
- 9/19 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000284s ] [0.000284s/0.018046s=1.57%]
- 10/19 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000097s ] [0.000097s/0.018046s=0.54%]
- 11/19 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000091s ] [0.000091s/0.018046s=0.50%]
- 12/19 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000088s ] [0.000088s/0.018046s=0.49%]
- 13/19 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000080s ] [0.000080s/0.018046s=0.44%]
- 14/19 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000079s ] [0.000079s/0.018046s=0.44%]
- 15/19 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000071s ] [0.000071s/0.018046s=0.39%]
- 16/19 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000050s ] [0.000050s/0.018046s=0.28%]
- 17/19 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000040s ] [0.000040s/0.018046s=0.22%]
- 18/19 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ] [0.000029s/0.018046s=0.16%]
- 19/19 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ] [0.000014s/0.018046s=0.08%]
- stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name does not resolve
- #0 [internal function]: think\Error::appError()
#1 /wwwroot/application/admin/service/DomainService.php(96): stream_socket_client()
#2 /wwwroot/application/admin/service/DomainService.php(121): app\admin\service\DomainService::getCertInfo()
#3 /wwwroot/application/common.php(2910): app\admin\service\DomainService::isCertValid()
#4 /wwwroot/application/common.php(2871): get_primary_domain()
#5 /wwwroot/application/common/controller/Frontend.php(394): redirect_domain()
#6 /wwwroot/application/index/controller/Cart.php(38): app\common\controller\Frontend->_initialize()
#7 /wwwroot/thinkphp/library/think/Controller.php(59): app\index\controller\Cart->_initialize()
#8 [internal function]: think\Controller->__construct()
#9 /wwwroot/thinkphp/library/think/App.php(359): ReflectionClass->newInstanceArgs()
#10 /wwwroot/thinkphp/library/think/Loader.php(479): think\App::invokeClass()
#11 /wwwroot/thinkphp/library/think/App.php(580): think\Loader::controller()
#12 /wwwroot/thinkphp/library/think/App.php(456): think\App::module()
#13 /wwwroot/thinkphp/library/think/App.php(139): think\App::exec()
#14 /wwwroot/public/index.php(26): think\App::run()
#15 {main}
- [ DB ] CONNECT:[ UseTime:0.001886s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698053856472;charset=utf8mb4
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001074s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000987s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001115s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000778s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000957s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001121s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765472278 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'vbb2c78md884opc9tr6imeafo2' AND `createtime` > 1765213078 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001343s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001438s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000788s ]
- [ SQL ] SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'vbb2c78md884opc9tr6imeafo2' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.002522s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001053s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001404s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001074s ]
- [ SQL ] SELECT `area_id` FROM `access_control_blacklist` [ RunTime:0.000881s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.159' LIMIT 1 [ RunTime:0.001143s ]
- [ SQL ] SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [ RunTime:0.001851s ]
- [ SQL ] SELECT `code` FROM `area` WHERE `id` IN ('') [ RunTime:0.000790s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765472278 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'vbb2c78md884opc9tr6imeafo2' ) AND `cart`.`deletetime` IS NULL [ RunTime:0.000978s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000735s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000723s ]
- [ SQL ] SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'vbb2c78md884opc9tr6imeafo2' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.002418s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000952s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.006476s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.008131s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.001190s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001148s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000985s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='zh' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000874s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='zh' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001394s ]
- 1/30 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.008131s/0.048209s=16.87%]
- 2/30 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.006476s/0.048209s=13.43%]
- 3/30 . SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'vbb2c78md884opc9tr6imeafo2' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.002522s/0.048209s=5.23%]
- 4/30 . SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'vbb2c78md884opc9tr6imeafo2' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.002418s/0.048209s=5.02%]
- 5/30 . CONNECT:[ UseTime:0.001886s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698053856472;charset=utf8mb4 [0.001886s/0.048209s=3.91%]
- 6/30 . SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [0.001851s/0.048209s=3.84%]
- 7/30 . SELECT @@session.sql_mode [0.001438s/0.048209s=2.98%]
- 8/30 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001404s/0.048209s=2.91%]
- 9/30 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='zh' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001394s/0.048209s=2.89%]
- 10/30 . UPDATE `cart` SET `deletetime`=1765472278 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'vbb2c78md884opc9tr6imeafo2' AND `createtime` > 1765213078 ) AND `cart`.`deletetime` IS NULL [0.001343s/0.048209s=2.79%]
- 11/30 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.001190s/0.048209s=2.47%]
- 12/30 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001148s/0.048209s=2.38%]
- 13/30 . SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.159' LIMIT 1 [0.001143s/0.048209s=2.37%]
- 14/30 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001121s/0.048209s=2.33%]
- 15/30 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001115s/0.048209s=2.31%]
- 16/30 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001074s/0.048209s=2.23%]
- 17/30 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001074s/0.048209s=2.23%]
- 18/30 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001053s/0.048209s=2.18%]
- 19/30 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000987s/0.048209s=2.05%]
- 20/30 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000985s/0.048209s=2.04%]
- 21/30 . UPDATE `cart` SET `deletetime`=1765472278 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'vbb2c78md884opc9tr6imeafo2' ) AND `cart`.`deletetime` IS NULL [0.000978s/0.048209s=2.03%]
- 22/30 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000957s/0.048209s=1.99%]
- 23/30 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000952s/0.048209s=1.97%]
- 24/30 . SELECT `area_id` FROM `access_control_blacklist` [0.000881s/0.048209s=1.83%]
- 25/30 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='zh' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000874s/0.048209s=1.81%]
- 26/30 . SELECT `code` FROM `area` WHERE `id` IN ('') [0.000790s/0.048209s=1.64%]
- 27/30 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000788s/0.048209s=1.63%]
- 28/30 . set time_zone = '+08:00' [0.000778s/0.048209s=1.61%]
- 29/30 . SELECT @@session.sql_mode [0.000735s/0.048209s=1.52%]
- 30/30 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000723s/0.048209s=1.50%]
- 1/4. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [4 times, 0.003516s/0.048209s=7.29%]
- 2/4. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='zh' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [2 times, 0.002268s/0.048209s=4.70%]
- 3/4. SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'vbb2c78md884opc9tr6imeafo2' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [2 times, 0.00494s/0.048209s=10.25%]
- 4/4. SELECT @@session.sql_mode [2 times, 0.002173s/0.048209s=4.51%]