基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2024-11-26 15:28:38 HTTP/1.1 GET : saasa.cn/cart
- 运行时间 : 0.412875s [ 吞吐率:2.42req/s ] 内存消耗:1,975.05kb 文件加载:252
- 查询信息 : [耗时:0.224281s/0.412875 54.32% ] 37 queries ,7 writes
- 缓存信息 : 6 reads,3 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=7d5tgls5q511hnmi4ls5m8h9qb
- [ 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.000434s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.001540s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001565s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000090s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'cart',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'saasa.cn',
'x-forwarded-for' => '3.131.13.24',
'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.005447s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000045s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000057s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000136s ]
- [ 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.028653s ]
- [ RUN ] app\index\controller\Cart->index[ /wwwroot/application/index/controller/Cart.php ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/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 => 'product_id',
39 => 'subtotal',
40 => 'discount',
41 => 'discount_gift',
42 => 'discount_gift_fee',
43 => 'total',
44 => 'discount_format',
45 => 'cart_info',
46 => 'order_info',
47 => 'order_remark',
48 => 'total_format',
49 => 'free_shipping_tips',
50 => 'form_type',
51 => 'page_type',
52 => 'seotitle',
) ]
- [ VIEW ] /wwwroot/addons/googlepixel/view/global_header.html [ array (
0 => 'site',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.000438s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @tiktok_pixel [ RunTime:0.001665s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000018s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000932s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @global_footer [ RunTime:0.001496s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @global_footer [ RunTime:0.001545s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000076s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001288s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000075s ]
- [ 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.000412s ]
- [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.002088s ]
- 1/21 . [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.028653s ] [0.028653s/0.048017s=59.67%]
- 2/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005447s ] [0.005447s/0.048017s=11.34%]
- 3/21 . [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.002088s ] [0.002088s/0.048017s=4.35%]
- 4/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @tiktok_pixel [ RunTime:0.001665s ] [0.001665s/0.048017s=3.47%]
- 5/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001565s ] [0.001565s/0.048017s=3.26%]
- 6/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @global_footer [ RunTime:0.001545s ] [0.001545s/0.048017s=3.22%]
- 7/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.001540s ] [0.001540s/0.048017s=3.21%]
- 8/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @global_footer [ RunTime:0.001496s ] [0.001496s/0.048017s=3.12%]
- 9/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001288s ] [0.001288s/0.048017s=2.68%]
- 10/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000932s ] [0.000932s/0.048017s=1.94%]
- 11/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.000438s ] [0.000438s/0.048017s=0.91%]
- 12/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000434s ] [0.000434s/0.048017s=0.90%]
- 13/21 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000412s ] [0.000412s/0.048017s=0.86%]
- 14/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000136s ] [0.000136s/0.048017s=0.28%]
- 15/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000090s ] [0.000090s/0.048017s=0.19%]
- 16/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000076s ] [0.000076s/0.048017s=0.16%]
- 17/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000075s ] [0.000075s/0.048017s=0.16%]
- 18/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000057s ] [0.000057s/0.048017s=0.12%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000045s ] [0.000045s/0.048017s=0.09%]
- 20/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000018s ] [0.000018s/0.048017s=0.04%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ] [0.000017s/0.048017s=0.04%]
- [ DB ] CONNECT:[ UseTime:0.002336s ] mysql:host=172.31.96.64;port=3306;dbname=shoppaas_1714304268836;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.005058s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.004547s ]
- [ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.002153s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.007890s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.007132s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001227s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001266s ]
- [ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.003094s ]
- [ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.001879s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1732606118 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '7d5tgls5q511hnmi4ls5m8h9qb' ) AND `cart`.`deletetime` IS NULL [ RunTime:0.003691s ]
- [ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.002254s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.006356s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001108s ]
- [ 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` = '7d5tgls5q511hnmi4ls5m8h9qb' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.010609s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001258s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001208s ]
- [ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.001728s ]
- [ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = 'c346c44ef00795fd4baa7ab66cdd39ff' LIMIT 1 [ RunTime:0.004514s ]
- [ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.001704s ]
- [ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = '6a00c341b7d9d812d95b8ff70de580d3' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002999s ]
- [ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.001911s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001212s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1732606118 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '7d5tgls5q511hnmi4ls5m8h9qb' ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001267s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002578s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001058s ]
- [ 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` = '7d5tgls5q511hnmi4ls5m8h9qb' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.001898s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001131s ]
- [ SQL ] SHOW COLUMNS FROM `shipping` [ RunTime:0.026396s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.002050s ]
- [ SQL ] SHOW COLUMNS FROM `shipping_express` [ RunTime:0.036938s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.010316s ]
- [ SQL ] SHOW COLUMNS FROM `area` [ RunTime:0.035045s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.007636s ]
- [ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.006581s ]
- [ 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.002245s ]
- [ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.001848s ]
- [ 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.001269s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001401s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001340s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001214s ]
- [ 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.001345s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001216s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001200s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001175s ]
- 1/45 . SHOW COLUMNS FROM `shipping_express` [0.036938s/0.224281s=16.47%]
- 2/45 . SHOW COLUMNS FROM `area` [0.035045s/0.224281s=15.63%]
- 3/45 . SHOW COLUMNS FROM `shipping` [0.026396s/0.224281s=11.77%]
- 4/45 . 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` = '7d5tgls5q511hnmi4ls5m8h9qb' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.010609s/0.224281s=4.73%]
- 5/45 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.010316s/0.224281s=4.60%]
- 6/45 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.007890s/0.224281s=3.52%]
- 7/45 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.007636s/0.224281s=3.40%]
- 8/45 . set time_zone = '+08:00' [0.007132s/0.224281s=3.18%]
- 9/45 . SHOW COLUMNS FROM `themes_menu_item` [0.006581s/0.224281s=2.93%]
- 10/45 . SELECT @@session.sql_mode [0.006356s/0.224281s=2.83%]
- 11/45 . SHOW COLUMNS FROM `payment` [0.005058s/0.224281s=2.26%]
- 12/45 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.004547s/0.224281s=2.03%]
- 13/45 . SELECT * FROM `visit_user` WHERE `visit_code` = 'c346c44ef00795fd4baa7ab66cdd39ff' LIMIT 1 [0.004514s/0.224281s=2.01%]
- 14/45 . UPDATE `cart` SET `deletetime`=1732606118 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '7d5tgls5q511hnmi4ls5m8h9qb' ) AND `cart`.`deletetime` IS NULL [0.003691s/0.224281s=1.65%]
- 15/45 . SHOW COLUMNS FROM `cart` [0.003094s/0.224281s=1.38%]
- 16/45 . SELECT * FROM `visit_log` WHERE ( `visit_session` = '6a00c341b7d9d812d95b8ff70de580d3' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.002999s/0.224281s=1.34%]
- 17/45 . SELECT @@session.sql_mode [0.002578s/0.224281s=1.15%]
- 18/45 . CONNECT:[ UseTime:0.002336s ] mysql:host=172.31.96.64;port=3306;dbname=shoppaas_1714304268836;charset=utf8mb4 [0.002336s/0.224281s=1.04%]
- 19/45 . SHOW COLUMNS FROM `activity` [0.002254s/0.224281s=1.00%]
- 20/45 . 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.002245s/0.224281s=1.00%]
- 21/45 . SHOW COLUMNS FROM `config` [0.002153s/0.224281s=0.96%]
- 22/45 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.002050s/0.224281s=0.91%]
- 23/45 . SHOW COLUMNS FROM `app_center` [0.001911s/0.224281s=0.85%]
- 24/45 . 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` = '7d5tgls5q511hnmi4ls5m8h9qb' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.001898s/0.224281s=0.85%]
- 25/45 . SHOW COLUMNS FROM `product` [0.001879s/0.224281s=0.84%]
- 26/45 . SHOW COLUMNS FROM `themes_lang` [0.001848s/0.224281s=0.82%]
- 27/45 . SHOW COLUMNS FROM `visit_user` [0.001728s/0.224281s=0.77%]
- 28/45 . SHOW COLUMNS FROM `visit_log` [0.001704s/0.224281s=0.76%]
- 29/45 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001401s/0.224281s=0.62%]
- 30/45 . 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.001345s/0.224281s=0.60%]
- 31/45 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001340s/0.224281s=0.60%]
- 32/45 . 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.001269s/0.224281s=0.57%]
- 33/45 . UPDATE `cart` SET `deletetime`=1732606118 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '7d5tgls5q511hnmi4ls5m8h9qb' ) AND `cart`.`deletetime` IS NULL [0.001267s/0.224281s=0.56%]
- 34/45 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001266s/0.224281s=0.56%]
- 35/45 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001258s/0.224281s=0.56%]
- 36/45 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001227s/0.224281s=0.55%]
- 37/45 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001216s/0.224281s=0.54%]
- 38/45 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001214s/0.224281s=0.54%]
- 39/45 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001212s/0.224281s=0.54%]
- 40/45 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001208s/0.224281s=0.54%]
- 41/45 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001200s/0.224281s=0.54%]
- 42/45 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001175s/0.224281s=0.52%]
- 43/45 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001131s/0.224281s=0.50%]
- 44/45 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001108s/0.224281s=0.49%]
- 45/45 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001058s/0.224281s=0.47%]
- 1/8. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [4 times, 0.004555s/0.224281s=2.03%]
- 2/8. SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [2 times, 0.002389s/0.224281s=1.07%]
- 3/8. SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [2 times, 0.00254s/0.224281s=1.13%]
- 4/8. SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [2 times, 0.002617s/0.224281s=1.17%]
- 5/8. 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.00359s/0.224281s=1.60%]
- 6/8. 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` = '7d5tgls5q511hnmi4ls5m8h9qb' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [2 times, 0.012507s/0.224281s=5.58%]
- 7/8. SELECT @@session.sql_mode [2 times, 0.008934s/0.224281s=3.98%]
- 8/8. UPDATE `cart` SET `deletetime`=1732606118 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '7d5tgls5q511hnmi4ls5m8h9qb' ) AND `cart`.`deletetime` IS NULL [2 times, 0.004958s/0.224281s=2.21%]
- generateVisitCode:c346c44ef00795fd4baa7ab66cdd39ff
- 发布普通任务:shoppaas_1714304268836:-addons-job-job-VisitUser@requestJob:6573