基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2024-11-26 15:46:00 HTTP/1.1 GET : saasa.cn/policies/shipping-policy
- 运行时间 : 0.671252s [ 吞吐率:1.49req/s ] 内存消耗:1,862.70kb 文件加载:236
- 查询信息 : [耗时:0.398206s/0.671252 59.32% ] 31 queries ,4 writes
- 缓存信息 : 5 reads,3 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=e5j2l7j4upg1k3mbj8lf3flho0
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002759s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.001109s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000650s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001441s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000091s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'policies',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'saasa.cn',
'x-forwarded-for' => '18.216.250.143',
'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' => 'saasa.cn',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'name' => 'shipping-policy',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.011934s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000039s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000053s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000126s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1714304268836:',
'type' => 'redis',
'host' => '172.31.98.116',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.087245s ]
- [ RUN ] app\index\controller\Policies->index[ /wwwroot/application/index/controller/Policies.php ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/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',
) ]
- [ VIEW ] /wwwroot/addons/googlepixel/view/global_header.html [ array (
0 => 'site',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.000449s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @tiktok_pixel [ RunTime:0.001374s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000013s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @global_footer [ RunTime:0.003938s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @global_footer [ RunTime:0.001375s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000078s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001344s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000080s ]
- [ 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.000394s ]
- [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.002344s ]
- 1/20 . [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.087245s ] [0.087245s/0.116836s=74.67%]
- 2/20 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.011934s ] [0.011934s/0.116836s=10.21%]
- 3/20 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @global_footer [ RunTime:0.003938s ] [0.003938s/0.116836s=3.37%]
- 4/20 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002759s ] [0.002759s/0.116836s=2.36%]
- 5/20 . [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.002344s ] [0.002344s/0.116836s=2.01%]
- 6/20 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001441s ] [0.001441s/0.116836s=1.23%]
- 7/20 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @global_footer [ RunTime:0.001375s ] [0.001375s/0.116836s=1.18%]
- 8/20 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @tiktok_pixel [ RunTime:0.001374s ] [0.001374s/0.116836s=1.18%]
- 9/20 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001344s ] [0.001344s/0.116836s=1.15%]
- 10/20 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.001109s ] [0.001109s/0.116836s=0.95%]
- 11/20 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000650s ] [0.000650s/0.116836s=0.56%]
- 12/20 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.000449s ] [0.000449s/0.116836s=0.38%]
- 13/20 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000394s ] [0.000394s/0.116836s=0.34%]
- 14/20 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000126s ] [0.000126s/0.116836s=0.11%]
- 15/20 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000091s ] [0.000091s/0.116836s=0.08%]
- 16/20 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000080s ] [0.000080s/0.116836s=0.07%]
- 17/20 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000078s ] [0.000078s/0.116836s=0.07%]
- 18/20 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000053s ] [0.000053s/0.116836s=0.05%]
- 19/20 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000039s ] [0.000039s/0.116836s=0.03%]
- 20/20 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000013s ] [0.000013s/0.116836s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.015783s ] mysql:host=172.31.96.64;port=3306;dbname=shoppaas_1714304268836;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.044962s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.009201s ]
- [ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.023559s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.006336s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.002959s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001629s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001723s ]
- [ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.026677s ]
- [ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.032533s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1732607161 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'e5j2l7j4upg1k3mbj8lf3flho0' ) AND `cart`.`deletetime` IS NULL [ RunTime:0.007675s ]
- [ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.016987s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.003219s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001198s ]
- [ 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` = 'e5j2l7j4upg1k3mbj8lf3flho0' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.015661s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001241s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001365s ]
- [ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.025431s ]
- [ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = '829ef452696ef896e06201398990859e' LIMIT 1 [ RunTime:0.013002s ]
- [ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.020982s ]
- [ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = 'ad0f2b310961fe4477fa0dddb5d0e2be' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.014127s ]
- [ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.013584s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.005775s ]
- [ SQL ] SHOW COLUMNS FROM `policies` [ RunTime:0.017651s ]
- [ SQL ] SELECT * FROM `policies` WHERE `name` = 'shipping-policy' LIMIT 1 [ RunTime:0.002373s ]
- [ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.046917s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( menu_id = '2' and pid = 0 ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.002197s ]
- [ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.010938s ]
- [ 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.001580s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001311s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.002804s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001305s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( menu_id = '2' and pid = 0 ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001285s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001524s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001230s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001482s ]
- 1/36 . SHOW COLUMNS FROM `themes_menu_item` [0.046917s/0.398206s=11.78%]
- 2/36 . SHOW COLUMNS FROM `payment` [0.044962s/0.398206s=11.29%]
- 3/36 . SHOW COLUMNS FROM `product` [0.032533s/0.398206s=8.17%]
- 4/36 . SHOW COLUMNS FROM `cart` [0.026677s/0.398206s=6.70%]
- 5/36 . SHOW COLUMNS FROM `visit_user` [0.025431s/0.398206s=6.39%]
- 6/36 . SHOW COLUMNS FROM `config` [0.023559s/0.398206s=5.92%]
- 7/36 . SHOW COLUMNS FROM `visit_log` [0.020982s/0.398206s=5.27%]
- 8/36 . SHOW COLUMNS FROM `policies` [0.017651s/0.398206s=4.43%]
- 9/36 . SHOW COLUMNS FROM `activity` [0.016987s/0.398206s=4.27%]
- 10/36 . CONNECT:[ UseTime:0.015783s ] mysql:host=172.31.96.64;port=3306;dbname=shoppaas_1714304268836;charset=utf8mb4 [0.015783s/0.398206s=3.96%]
- 11/36 . 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` = 'e5j2l7j4upg1k3mbj8lf3flho0' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.015661s/0.398206s=3.93%]
- 12/36 . SELECT * FROM `visit_log` WHERE ( `visit_session` = 'ad0f2b310961fe4477fa0dddb5d0e2be' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.014127s/0.398206s=3.55%]
- 13/36 . SHOW COLUMNS FROM `app_center` [0.013584s/0.398206s=3.41%]
- 14/36 . SELECT * FROM `visit_user` WHERE `visit_code` = '829ef452696ef896e06201398990859e' LIMIT 1 [0.013002s/0.398206s=3.27%]
- 15/36 . SHOW COLUMNS FROM `themes_lang` [0.010938s/0.398206s=2.75%]
- 16/36 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.009201s/0.398206s=2.31%]
- 17/36 . UPDATE `cart` SET `deletetime`=1732607161 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'e5j2l7j4upg1k3mbj8lf3flho0' ) AND `cart`.`deletetime` IS NULL [0.007675s/0.398206s=1.93%]
- 18/36 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.006336s/0.398206s=1.59%]
- 19/36 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.005775s/0.398206s=1.45%]
- 20/36 . SELECT @@session.sql_mode [0.003219s/0.398206s=0.81%]
- 21/36 . set time_zone = '+08:00' [0.002959s/0.398206s=0.74%]
- 22/36 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.002804s/0.398206s=0.70%]
- 23/36 . SELECT * FROM `policies` WHERE `name` = 'shipping-policy' LIMIT 1 [0.002373s/0.398206s=0.60%]
- 24/36 . SELECT * FROM `themes_menu_item` WHERE ( ( menu_id = '2' and pid = 0 ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.002197s/0.398206s=0.55%]
- 25/36 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001723s/0.398206s=0.43%]
- 26/36 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001629s/0.398206s=0.41%]
- 27/36 . 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.001580s/0.398206s=0.40%]
- 28/36 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001524s/0.398206s=0.38%]
- 29/36 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001482s/0.398206s=0.37%]
- 30/36 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001365s/0.398206s=0.34%]
- 31/36 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001311s/0.398206s=0.33%]
- 32/36 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001305s/0.398206s=0.33%]
- 33/36 . SELECT * FROM `themes_menu_item` WHERE ( ( menu_id = '2' and pid = 0 ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001285s/0.398206s=0.32%]
- 34/36 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001241s/0.398206s=0.31%]
- 35/36 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001230s/0.398206s=0.31%]
- 36/36 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001198s/0.398206s=0.30%]
- 1/5. SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [2 times, 0.002787s/0.398206s=0.70%]
- 2/5. SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [2 times, 0.004034s/0.398206s=1.01%]
- 3/5. SELECT * FROM `themes_menu_item` WHERE ( ( menu_id = '2' and pid = 0 ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [2 times, 0.003482s/0.398206s=0.87%]
- 4/5. SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [2 times, 0.002835s/0.398206s=0.71%]
- 5/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.002439s/0.398206s=0.61%]
- generateVisitCode:829ef452696ef896e06201398990859e
- 发布普通任务:shoppaas_1714304268836:-addons-job-job-VisitUser@requestJob:6577