基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-10-15 19:06:55 HTTP/1.1 GET : ousms2.system-domain.devshoppaas.com/cart
- 运行时间 : 0.149339s [ 吞吐率:6.70req/s ] 内存消耗:2,401.70kb 文件加载:319
- 查询信息 : [耗时:0.028819s/0.149339 19.30% ] 18 queries ,4 writes
- 缓存信息 : 8 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=gidi2q80k77s5af538ejus0v30
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000237s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000048s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000051s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'cart',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'ousms2.system-domain.devshoppaas.com',
'x-forwarded-for' => '216.73.217.43',
'via' => '2.0 Caddy',
'cookie' => '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%3A200%7D; currency_code=USD; PHPSESSID=gidi2q80k77s5af538ejus0v30',
'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' => 'ousms2.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.002710s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000024s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000057s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1722653530878:',
'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/testtheme/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.000081s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.054710s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001165s ]
- [ VIEW ] /wwwroot/addons/googlepixel/view/google_pixel.html [ array (
0 => 'first_pixel_id',
1 => 'google_pixel_ids',
2 => 'googleAds',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002335s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001027s ]
- [ VIEW ] /wwwroot/addons/mediago/view/mediago_pixel.html [ array (
0 => 'mediago_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000979s ]
- [ VIEW ] /wwwroot/addons/taboolapixel/view/taboola_pixel.html [ array (
0 => 'first_pixel_id',
1 => 'taboola_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001019s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001275s ]
- [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000809s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001133s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000624s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000900s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000041s ]
- 1/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.054710s ] [0.054710s/0.069349s=78.89%]
- 2/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002710s ] [0.002710s/0.069349s=3.91%]
- 3/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002335s ] [0.002335s/0.069349s=3.37%]
- 4/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001275s ] [0.001275s/0.069349s=1.84%]
- 5/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001165s ] [0.001165s/0.069349s=1.68%]
- 6/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001133s ] [0.001133s/0.069349s=1.63%]
- 7/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001027s ] [0.001027s/0.069349s=1.48%]
- 8/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001019s ] [0.001019s/0.069349s=1.47%]
- 9/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000979s ] [0.000979s/0.069349s=1.41%]
- 10/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000900s ] [0.000900s/0.069349s=1.30%]
- 11/23 . [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000809s ] [0.000809s/0.069349s=1.17%]
- 12/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000624s ] [0.000624s/0.069349s=0.90%]
- 13/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000237s ] [0.000237s/0.069349s=0.34%]
- 14/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000081s ] [0.000081s/0.069349s=0.12%]
- 15/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000057s ] [0.000057s/0.069349s=0.08%]
- 16/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000051s ] [0.000051s/0.069349s=0.07%]
- 17/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000048s ] [0.000048s/0.069349s=0.07%]
- 18/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000047s ] [0.000047s/0.069349s=0.07%]
- 19/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000041s ] [0.000041s/0.069349s=0.06%]
- 20/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ] [0.000039s/0.069349s=0.06%]
- 21/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.069349s=0.04%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000024s ] [0.000024s/0.069349s=0.03%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.069349s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.002068s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1722653530878;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000894s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001264s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001080s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000992s ]
- [ SQL ] set time_zone = '-11:00' [ RunTime:0.000787s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001083s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001010s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001128s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1792130815 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'gidi2q80k77s5af538ejus0v30' ) AND `cart`.`deletetime` IS NULL [ RunTime:0.004462s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000803s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000687s ]
- [ 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` = 'gidi2q80k77s5af538ejus0v30' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001755s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000720s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.000829s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001459s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.001120s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'paypal' AND `status` = '1' LIMIT 1 [ RunTime:0.000991s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `group` = 'payment_channel_discount' AND `name` = 'paypal' LIMIT 1 [ RunTime:0.001795s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001133s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001014s ]
- [ 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.000876s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000869s ]
- 1/23 . UPDATE `cart` SET `deletetime`=1792130815 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'gidi2q80k77s5af538ejus0v30' ) AND `cart`.`deletetime` IS NULL [0.004462s/0.028819s=15.48%]
- 2/23 . CONNECT:[ UseTime:0.002068s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1722653530878;charset=utf8mb4 [0.002068s/0.028819s=7.18%]
- 3/23 . SELECT `value` FROM `config` WHERE `group` = 'payment_channel_discount' AND `name` = 'paypal' LIMIT 1 [0.001795s/0.028819s=6.23%]
- 4/23 . 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` = 'gidi2q80k77s5af538ejus0v30' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001755s/0.028819s=6.09%]
- 5/23 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.001459s/0.028819s=5.06%]
- 6/23 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001264s/0.028819s=4.39%]
- 7/23 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001133s/0.028819s=3.93%]
- 8/23 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001128s/0.028819s=3.91%]
- 9/23 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.001120s/0.028819s=3.89%]
- 10/23 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001083s/0.028819s=3.76%]
- 11/23 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001080s/0.028819s=3.75%]
- 12/23 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001014s/0.028819s=3.52%]
- 13/23 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001010s/0.028819s=3.50%]
- 14/23 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000992s/0.028819s=3.44%]
- 15/23 . SELECT * FROM `payment` WHERE `code` = 'paypal' AND `status` = '1' LIMIT 1 [0.000991s/0.028819s=3.44%]
- 16/23 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000894s/0.028819s=3.10%]
- 17/23 . 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.000876s/0.028819s=3.04%]
- 18/23 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000869s/0.028819s=3.02%]
- 19/23 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.000829s/0.028819s=2.88%]
- 20/23 . SELECT @@session.sql_mode [0.000803s/0.028819s=2.79%]
- 21/23 . set time_zone = '-11:00' [0.000787s/0.028819s=2.73%]
- 22/23 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000720s/0.028819s=2.50%]
- 23/23 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000687s/0.028819s=2.38%]
- 1/1. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001407s/0.028819s=4.88%]
- Facebook track: Use:5.0437927246094ms