基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-18 12:14:35 HTTP/1.1 GET : saasa.cn/category
- 运行时间 : 0.190087s [ 吞吐率:5.26req/s ] 内存消耗:2,791.10kb 文件加载:249
- 查询信息 : [耗时:0.036889s/0.190087 19.41% ] 30 queries ,4 writes
- 缓存信息 : 7 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=mjbptdmbghhvslfj6rmr3am5ct
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000409s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000080s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000095s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000096s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'category',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'saasa.cn',
'x-forwarded-for' => '216.73.216.165',
'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 (
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005219s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000035s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000098s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1736997004309:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Category->index[ /wwwroot/application/index/controller/Category.php ]
- [ VIEW ] /wwwroot/template/arise/template/category_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 => 'categoryList',
39 => 'categorySelected',
40 => 'seotitle',
41 => 'page_type',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000177s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002007s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001688s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001684s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001702s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001143s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001150s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001801s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000043s ]
- 1/19 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005219s ] [0.005219s/0.017534s=29.77%]
- 2/19 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002007s ] [0.002007s/0.017534s=11.45%]
- 3/19 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001801s ] [0.001801s/0.017534s=10.27%]
- 4/19 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001702s ] [0.001702s/0.017534s=9.71%]
- 5/19 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001688s ] [0.001688s/0.017534s=9.63%]
- 6/19 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001684s ] [0.001684s/0.017534s=9.60%]
- 7/19 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001150s ] [0.001150s/0.017534s=6.56%]
- 8/19 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001143s ] [0.001143s/0.017534s=6.52%]
- 9/19 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000409s ] [0.000409s/0.017534s=2.33%]
- 10/19 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000177s ] [0.000177s/0.017534s=1.01%]
- 11/19 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000098s ] [0.000098s/0.017534s=0.56%]
- 12/19 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000096s ] [0.000096s/0.017534s=0.55%]
- 13/19 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000095s ] [0.000095s/0.017534s=0.54%]
- 14/19 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000080s ] [0.000080s/0.017534s=0.46%]
- 15/19 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ] [0.000045s/0.017534s=0.26%]
- 16/19 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000045s ] [0.000045s/0.017534s=0.26%]
- 17/19 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000043s ] [0.000043s/0.017534s=0.25%]
- 18/19 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000035s ] [0.000035s/0.017534s=0.20%]
- 19/19 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ] [0.000017s/0.017534s=0.10%]
- [ DB ] CONNECT:[ UseTime:0.003063s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1736997004309;charset=utf8mb4
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.000978s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000953s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000823s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000864s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001076s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000877s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1766031275 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'mjbptdmbghhvslfj6rmr3am5ct' AND `createtime` > 1765772075 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001057s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000832s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000695s ]
- [ 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` = 'mjbptdmbghhvslfj6rmr3am5ct' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.003778s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000680s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000906s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001029s ]
- [ SQL ] SELECT * FROM `category` [ RunTime:0.000939s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('1',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000893s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('2',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000750s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('3',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000769s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('4',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000726s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('5',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000767s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('6',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000832s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('7',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000822s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('8',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000833s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000831s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 0,2000 [ RunTime:0.002526s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000991s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000888s ]
- [ 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.000911s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [ RunTime:0.000823s ]
- [ 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.000882s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [ RunTime:0.000998s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [ RunTime:0.000733s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [ RunTime:0.000878s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [ RunTime:0.000746s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [ RunTime:0.000740s ]
- 1/35 . 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` = 'mjbptdmbghhvslfj6rmr3am5ct' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.003778s/0.036889s=10.24%]
- 2/35 . CONNECT:[ UseTime:0.003063s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1736997004309;charset=utf8mb4 [0.003063s/0.036889s=8.30%]
- 3/35 . SELECT * FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 0,2000 [0.002526s/0.036889s=6.85%]
- 4/35 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001076s/0.036889s=2.92%]
- 5/35 . UPDATE `cart` SET `deletetime`=1766031275 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'mjbptdmbghhvslfj6rmr3am5ct' AND `createtime` > 1765772075 ) AND `cart`.`deletetime` IS NULL [0.001057s/0.036889s=2.87%]
- 6/35 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001029s/0.036889s=2.79%]
- 7/35 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [0.000998s/0.036889s=2.71%]
- 8/35 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000991s/0.036889s=2.69%]
- 9/35 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.000978s/0.036889s=2.65%]
- 10/35 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000953s/0.036889s=2.58%]
- 11/35 . SELECT * FROM `category` [0.000939s/0.036889s=2.55%]
- 12/35 . 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.000911s/0.036889s=2.47%]
- 13/35 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000906s/0.036889s=2.46%]
- 14/35 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('1',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000893s/0.036889s=2.42%]
- 15/35 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000888s/0.036889s=2.41%]
- 16/35 . 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.000882s/0.036889s=2.39%]
- 17/35 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [0.000878s/0.036889s=2.38%]
- 18/35 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000877s/0.036889s=2.38%]
- 19/35 . set time_zone = '+08:00' [0.000864s/0.036889s=2.34%]
- 20/35 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('8',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000833s/0.036889s=2.26%]
- 21/35 . SELECT @@session.sql_mode [0.000832s/0.036889s=2.26%]
- 22/35 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('6',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000832s/0.036889s=2.26%]
- 23/35 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000831s/0.036889s=2.25%]
- 24/35 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [0.000823s/0.036889s=2.23%]
- 25/35 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000823s/0.036889s=2.23%]
- 26/35 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('7',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000822s/0.036889s=2.23%]
- 27/35 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('3',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000769s/0.036889s=2.08%]
- 28/35 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('5',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000767s/0.036889s=2.08%]
- 29/35 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('2',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000750s/0.036889s=2.03%]
- 30/35 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [0.000746s/0.036889s=2.02%]
- 31/35 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [0.000740s/0.036889s=2.01%]
- 32/35 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [0.000733s/0.036889s=1.99%]
- 33/35 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('4',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000726s/0.036889s=1.97%]
- 34/35 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000695s/0.036889s=1.88%]
- 35/35 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000680s/0.036889s=1.84%]
- 1/3. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/assets/shop/img/svg/no-image.svg' LIMIT 1 [6 times, 0.004918s/0.036889s=13.33%]
- 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.001793s/0.036889s=4.86%]
- 3/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001375s/0.036889s=3.73%]