基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-11-27 08:35:10 HTTP/1.1 GET : cy061201.system-domain.devshoppaas.com/cart
- 运行时间 : 0.103686s [ 吞吐率:9.64req/s ] 内存消耗:2,100.66kb 文件加载:271
- 查询信息 : [耗时:0.025199s/0.103686 24.30% ] 17 queries ,4 writes
- 缓存信息 : 7 reads,1 writes
- 配置加载 : 85
- 会话信息 : SESSION_ID=gcmbi1gjje3i7gj8a5dusf7t0a
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000010s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000422s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000058s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000097s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'cart',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'cy061201.system-domain.devshoppaas.com',
'x-forwarded-for' => '216.73.216.5',
'via' => '2.0 Caddy',
'cookie' => 'PHPSESSID=gcmbi1gjje3i7gj8a5dusf7t0a; currency_code=USD; currency=%7B%22id%22%3A1%2C%22title%22%3A%22%E7%BE%8E%E5%85%83%EF%BC%88USD%EF%BC%89%22%2C%22code%22%3A%22USD%22%2C%22symbol_left%22%3A%22%24%22%2C%22symbol_right%22%3Anull%2C%22decimal_place%22%3A%222%22%2C%22value%22%3A%221.0000%22%2C%22status%22%3A1%2C%22icon%22%3A%22assets%5C%2Fshop%5C%2Fflag-icons%5C%2Fflags%5C%2F4x3%5C%2Fus.svg%22%2C%22updatetime%22%3A1702968337%2C%22is_default%22%3A1%2C%22sort%22%3A0%7D',
'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' => 'cy061201.system-domain.devshoppaas.com',
'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.003203s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000062s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000029s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000095s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1749698444386:',
'type' => 'redis',
'host' => 'test-redis-7.rj9kwp.ng.0001.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/brooklyn-playful/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 => 'ppPayLaterInfo',
39 => 'pay_discount_desc',
40 => 'product_id',
41 => 'subtotal',
42 => 'discount',
43 => 'discount_gift',
44 => 'discount_gift_fee',
45 => 'total',
46 => 'discount_format',
47 => 'cart_info',
48 => 'order_info',
49 => 'order_remark',
50 => 'total_format',
51 => 'free_shipping_tips',
52 => 'form_type',
53 => 'page_type',
54 => 'seotitle',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000124s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001066s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001050s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000981s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000911s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000958s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000938s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001331s ]
- [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000944s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001267s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000728s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000079s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000965s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000079s ]
- 1/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.003203s ] [0.003203s/0.015444s=20.74%]
- 2/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001331s ] [0.001331s/0.015444s=8.62%]
- 3/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001267s ] [0.001267s/0.015444s=8.20%]
- 4/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001066s ] [0.001066s/0.015444s=6.90%]
- 5/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001050s ] [0.001050s/0.015444s=6.80%]
- 6/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000981s ] [0.000981s/0.015444s=6.35%]
- 7/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000965s ] [0.000965s/0.015444s=6.25%]
- 8/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000958s ] [0.000958s/0.015444s=6.20%]
- 9/23 . [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000944s ] [0.000944s/0.015444s=6.11%]
- 10/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000938s ] [0.000938s/0.015444s=6.07%]
- 11/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000911s ] [0.000911s/0.015444s=5.90%]
- 12/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000728s ] [0.000728s/0.015444s=4.71%]
- 13/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000422s ] [0.000422s/0.015444s=2.73%]
- 14/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000124s ] [0.000124s/0.015444s=0.80%]
- 15/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000097s ] [0.000097s/0.015444s=0.63%]
- 16/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000095s ] [0.000095s/0.015444s=0.62%]
- 17/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000079s ] [0.000079s/0.015444s=0.51%]
- 18/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000079s ] [0.000079s/0.015444s=0.51%]
- 19/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000062s ] [0.000062s/0.015444s=0.40%]
- 20/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000058s ] [0.000058s/0.015444s=0.38%]
- 21/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000047s ] [0.000047s/0.015444s=0.30%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000029s ] [0.000029s/0.015444s=0.19%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000010s ] [0.000010s/0.015444s=0.06%]
- 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(123): stream_socket_client()
#2 /wwwroot/application/admin/service/DomainService.php(148): app\admin\service\DomainService::getCertInfo()
#3 /wwwroot/application/common.php(3032): app\admin\service\DomainService::isCertValid()
#4 /wwwroot/application/common.php(2986): get_primary_domain()
#5 /wwwroot/application/common/controller/Frontend.php(480): 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.002171s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1749698444386;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001059s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001245s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000988s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001001s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000915s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000920s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000856s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001031s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1795739710 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'gcmbi1gjje3i7gj8a5dusf7t0a' ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001075s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000968s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000990s ]
- [ 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` = 'gcmbi1gjje3i7gj8a5dusf7t0a' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001774s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000892s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.000942s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001539s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.001226s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `group` = 'payment_channel_discount' AND `name` = 'paypal' LIMIT 1 [ RunTime:0.001250s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001162s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001096s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001059s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001040s ]
- 1/22 . CONNECT:[ UseTime:0.002171s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1749698444386;charset=utf8mb4 [0.002171s/0.025199s=8.62%]
- 2/22 . 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` = 'gcmbi1gjje3i7gj8a5dusf7t0a' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001774s/0.025199s=7.04%]
- 3/22 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.001539s/0.025199s=6.11%]
- 4/22 . SELECT `value` FROM `config` WHERE `group` = 'payment_channel_discount' AND `name` = 'paypal' LIMIT 1 [0.001250s/0.025199s=4.96%]
- 5/22 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001245s/0.025199s=4.94%]
- 6/22 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.001226s/0.025199s=4.87%]
- 7/22 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001162s/0.025199s=4.61%]
- 8/22 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001096s/0.025199s=4.35%]
- 9/22 . UPDATE `cart` SET `deletetime`=1795739710 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'gcmbi1gjje3i7gj8a5dusf7t0a' ) AND `cart`.`deletetime` IS NULL [0.001075s/0.025199s=4.27%]
- 10/22 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001059s/0.025199s=4.20%]
- 11/22 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001059s/0.025199s=4.20%]
- 12/22 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001040s/0.025199s=4.13%]
- 13/22 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001031s/0.025199s=4.09%]
- 14/22 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001001s/0.025199s=3.97%]
- 15/22 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000990s/0.025199s=3.93%]
- 16/22 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000988s/0.025199s=3.92%]
- 17/22 . SELECT @@session.sql_mode [0.000968s/0.025199s=3.84%]
- 18/22 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.000942s/0.025199s=3.74%]
- 19/22 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000920s/0.025199s=3.65%]
- 20/22 . set time_zone = '+08:00' [0.000915s/0.025199s=3.63%]
- 21/22 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000892s/0.025199s=3.54%]
- 22/22 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000856s/0.025199s=3.40%]
- 1/1. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001882s/0.025199s=7.47%]