基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-03-05 22:00:12 HTTP/1.1 GET : dev2.zuochang.top/policies/terms-of-service
- 运行时间 : 0.126365s [ 吞吐率:7.91req/s ] 内存消耗:2,182.23kb 文件加载:230
- 查询信息 : [耗时:0.02112s/0.126365 16.71% ] 10 queries ,4 writes
- 缓存信息 : 5 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=oglnt22f63ri9gnc8r7l9ofc6k
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000051s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000464s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000074s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000084s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000100s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'policies',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'dev2.zuochang.top',
'x-forwarded-for' => '216.73.216.151',
'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' => 'dev2.zuochang.top',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'name' => 'terms-of-service',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006790s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000044s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000037s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1719214038566:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Policies->index[ /wwwroot/application/index/controller/Policies.php ]
- [ VIEW ] /wwwroot/template/dawn/template/policies_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 => 'policy',
) ]
- 1/9 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006790s ] [0.006790s/0.007709s=88.08%]
- 2/9 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000464s ] [0.000464s/0.007709s=6.02%]
- 3/9 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000100s ] [0.000100s/0.007709s=1.30%]
- 4/9 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000084s ] [0.000084s/0.007709s=1.09%]
- 5/9 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000074s ] [0.000074s/0.007709s=0.96%]
- 6/9 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ] [0.000065s/0.007709s=0.84%]
- 7/9 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000051s ] [0.000051s/0.007709s=0.66%]
- 8/9 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000044s ] [0.000044s/0.007709s=0.57%]
- 9/9 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000037s ] [0.000037s/0.007709s=0.48%]
- [ DB ] CONNECT:[ UseTime:0.002655s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1719214038566;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001105s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.003198s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001159s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000976s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001299s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001098s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000937s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1772719212 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'oglnt22f63ri9gnc8r7l9ofc6k' AND `createtime` > 1772460012 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001547s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000799s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001140s ]
- [ 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` = 'oglnt22f63ri9gnc8r7l9ofc6k' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.002430s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000791s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000875s ]
- [ SQL ] SELECT * FROM `policies` WHERE `name` = 'terms-of-service' LIMIT 1 [ RunTime:0.001111s ]
- 1/15 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.003198s/0.02112s=15.14%]
- 2/15 . CONNECT:[ UseTime:0.002655s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1719214038566;charset=utf8mb4 [0.002655s/0.02112s=12.57%]
- 3/15 . 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` = 'oglnt22f63ri9gnc8r7l9ofc6k' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.002430s/0.02112s=11.51%]
- 4/15 . UPDATE `cart` SET `deletetime`=1772719212 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'oglnt22f63ri9gnc8r7l9ofc6k' AND `createtime` > 1772460012 ) AND `cart`.`deletetime` IS NULL [0.001547s/0.02112s=7.32%]
- 5/15 . set time_zone = '+08:00' [0.001299s/0.02112s=6.15%]
- 6/15 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001159s/0.02112s=5.49%]
- 7/15 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001140s/0.02112s=5.40%]
- 8/15 . SELECT * FROM `policies` WHERE `name` = 'terms-of-service' LIMIT 1 [0.001111s/0.02112s=5.26%]
- 9/15 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001105s/0.02112s=5.23%]
- 10/15 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001098s/0.02112s=5.20%]
- 11/15 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000976s/0.02112s=4.62%]
- 12/15 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000937s/0.02112s=4.44%]
- 13/15 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000875s/0.02112s=4.14%]
- 14/15 . SELECT @@session.sql_mode [0.000799s/0.02112s=3.78%]
- 15/15 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000791s/0.02112s=3.75%]
- 1/1. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001931s/0.02112s=9.14%]