基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-04-01 04:12:35 HTTP/1.1 GET : democoffee.shoppaas.com/login
- 运行时间 : 0.095716s [ 吞吐率:10.45req/s ] 内存消耗:2,370.30kb 文件加载:248
- 查询信息 : [耗时:0.017075s/0.095716 17.84% ] 25 queries ,4 writes
- 缓存信息 : 7 reads,3 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=s586mctk1331avvghfpg3om0re
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ]
- [ 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.000044s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000054s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000061s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'user',
2 => 'login',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'democoffee.shoppaas.com',
'x-forwarded-for' => '3.19.246.111',
'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' => 'democoffee.shoppaas.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.002073s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000030s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000067s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1692268519851:',
'type' => 'redis',
'host' => '172.31.98.126',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.009048s ]
- [ RUN ] app\index\controller\User->login[ /wwwroot/application/index/controller/User.php ]
- [ VIEW ] /wwwroot/template/coffee/template/user/login.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 => 'callback',
39 => 'customer_login_config',
40 => 'preview',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.000983s ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000083s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000895s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000876s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000003s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000916s ]
- [ VIEW ] /wwwroot/addons/visituser/view/visit_record_page_stay_time.html [ array (
0 => 'unique_id',
1 => 'product_id',
) ]
- [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000416s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000005s ]
- [ VIEW ] /wwwroot/addons/visituser/view/visit_record_page_stay_time.html [ array (
0 => 'unique_id',
1 => 'product_id',
) ]
- [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000289s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000596s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_buy_paypal_fast.html [ array (
0 => 'config_site_version',
1 => 'type',
2 => 'path',
3 => 'payment_element_id',
4 => 'container_id',
5 => 'key',
6 => 'theme_id',
7 => 'btn_style',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000298s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_buy_paypal_fast.html [ array (
0 => 'config_site_version',
1 => 'type',
2 => 'path',
3 => 'payment_element_id',
4 => 'container_id',
5 => 'key',
6 => 'theme_id',
7 => 'btn_style',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000196s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000043s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000886s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.001326s ]
- 1/26 . [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.009048s ] [0.009048s/0.019558s=46.26%]
- 2/26 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002073s ] [0.002073s/0.019558s=10.60%]
- 3/26 . [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.001326s ] [0.001326s/0.019558s=6.78%]
- 4/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.000983s ] [0.000983s/0.019558s=5.03%]
- 5/26 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000916s ] [0.000916s/0.019558s=4.68%]
- 6/26 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000895s ] [0.000895s/0.019558s=4.58%]
- 7/26 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000886s ] [0.000886s/0.019558s=4.53%]
- 8/26 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000876s ] [0.000876s/0.019558s=4.48%]
- 9/26 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000596s ] [0.000596s/0.019558s=3.05%]
- 10/26 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000416s ] [0.000416s/0.019558s=2.13%]
- 11/26 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000298s ] [0.000298s/0.019558s=1.52%]
- 12/26 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000289s ] [0.000289s/0.019558s=1.48%]
- 13/26 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000284s ] [0.000284s/0.019558s=1.45%]
- 14/26 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000196s ] [0.000196s/0.019558s=1.00%]
- 15/26 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000083s ] [0.000083s/0.019558s=0.42%]
- 16/26 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000067s ] [0.000067s/0.019558s=0.34%]
- 17/26 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000061s ] [0.000061s/0.019558s=0.31%]
- 18/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000054s ] [0.000054s/0.019558s=0.28%]
- 19/26 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000047s ] [0.000047s/0.019558s=0.24%]
- 20/26 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000044s ] [0.000044s/0.019558s=0.22%]
- 21/26 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000043s ] [0.000043s/0.019558s=0.22%]
- 22/26 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000030s ] [0.000030s/0.019558s=0.15%]
- 23/26 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.019558s=0.14%]
- 24/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.019558s=0.06%]
- 25/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000005s ] [0.000005s/0.019558s=0.03%]
- 26/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000003s ] [0.000003s/0.019558s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.000563s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1692268519851;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.000944s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.000579s ]
- [ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.000836s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000357s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000284s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000314s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000283s ]
- [ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.000853s ]
- [ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.000885s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1743451955 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 's586mctk1331avvghfpg3om0re' AND `createtime` > 1743192755 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.000475s ]
- [ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.000789s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000305s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000247s ]
- [ 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` = 's586mctk1331avvghfpg3om0re' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.000827s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000235s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000339s ]
- [ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.000905s ]
- [ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = 'cb0c6b38bc251b8701f5168b77178c2c' LIMIT 1 [ RunTime:0.000438s ]
- [ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.000932s ]
- [ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = 'be16c45a2a8c6752a451bd7196c7e3ac' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000643s ]
- [ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.001025s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000452s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000334s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000331s ]
- [ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.000957s ]
- [ 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.000435s ]
- [ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.000783s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000364s ]
- [ 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.000361s ]
- 1/30 . SHOW COLUMNS FROM `app_center` [0.001025s/0.017075s=6.00%]
- 2/30 . SHOW COLUMNS FROM `themes_lang` [0.000957s/0.017075s=5.60%]
- 3/30 . SHOW COLUMNS FROM `payment` [0.000944s/0.017075s=5.53%]
- 4/30 . SHOW COLUMNS FROM `visit_log` [0.000932s/0.017075s=5.46%]
- 5/30 . SHOW COLUMNS FROM `visit_user` [0.000905s/0.017075s=5.30%]
- 6/30 . SHOW COLUMNS FROM `product` [0.000885s/0.017075s=5.18%]
- 7/30 . SHOW COLUMNS FROM `cart` [0.000853s/0.017075s=5.00%]
- 8/30 . SHOW COLUMNS FROM `config` [0.000836s/0.017075s=4.90%]
- 9/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` = 's586mctk1331avvghfpg3om0re' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.000827s/0.017075s=4.84%]
- 10/30 . SHOW COLUMNS FROM `activity` [0.000789s/0.017075s=4.62%]
- 11/30 . SHOW COLUMNS FROM `themes_menu_item` [0.000783s/0.017075s=4.59%]
- 12/30 . SELECT * FROM `visit_log` WHERE ( `visit_session` = 'be16c45a2a8c6752a451bd7196c7e3ac' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.000643s/0.017075s=3.77%]
- 13/30 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.000579s/0.017075s=3.39%]
- 14/30 . CONNECT:[ UseTime:0.000563s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1692268519851;charset=utf8mb4 [0.000563s/0.017075s=3.30%]
- 15/30 . UPDATE `cart` SET `deletetime`=1743451955 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 's586mctk1331avvghfpg3om0re' AND `createtime` > 1743192755 ) AND `cart`.`deletetime` IS NULL [0.000475s/0.017075s=2.78%]
- 16/30 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000452s/0.017075s=2.65%]
- 17/30 . SELECT * FROM `visit_user` WHERE `visit_code` = 'cb0c6b38bc251b8701f5168b77178c2c' LIMIT 1 [0.000438s/0.017075s=2.57%]
- 18/30 . 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.000435s/0.017075s=2.55%]
- 19/30 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000364s/0.017075s=2.13%]
- 20/30 . 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.000361s/0.017075s=2.11%]
- 21/30 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000357s/0.017075s=2.09%]
- 22/30 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000339s/0.017075s=1.99%]
- 23/30 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000334s/0.017075s=1.96%]
- 24/30 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000331s/0.017075s=1.94%]
- 25/30 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000314s/0.017075s=1.84%]
- 26/30 . SELECT @@session.sql_mode [0.000305s/0.017075s=1.79%]
- 27/30 . set time_zone = '+08:00' [0.000284s/0.017075s=1.66%]
- 28/30 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000283s/0.017075s=1.66%]
- 29/30 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000247s/0.017075s=1.45%]
- 30/30 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000235s/0.017075s=1.38%]
- 1/3. SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [3 times, 0.001004s/0.017075s=5.88%]
- 2/3. 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 [2 times, 0.000796s/0.017075s=4.66%]
- 3/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.000482s/0.017075s=2.82%]
- generateVisitCode:cb0c6b38bc251b8701f5168b77178c2c
- 发布普通任务:shoppaas_1692268519851:-addons-job-job-VisitUser@requestJob:84251