[ BEHAVIOR ] Run \addons\shop\Shop @view_filter [ RunTime:0.000253s ]
[ DB ] CONNECT:[ UseTime:0.000478s ] mysql:host=127.0.0.1;dbname=shop;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `fa_shop_goods` [ RunTime:0.000578s ]
[ SQL ] SELECT * FROM `fa_shop_goods` WHERE ( `status` <> 'hidden' AND `id` = 21 ) AND `fa_shop_goods`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000404s ]
[ SQL ] SHOW COLUMNS FROM `fa_shop_goods_sku` [ RunTime:0.000390s ]
[ SQL ] SELECT * FROM `fa_shop_goods_sku` WHERE `goods_id` = 21 [ RunTime:0.000250s ]
[ SQL ] SHOW COLUMNS FROM `fa_shop_comment` [ RunTime:0.000446s ]
[ SQL ] SELECT `id`,`goods_id`,`content`,`star`,`user_id`,`images`,`createtime` FROM `fa_shop_comment` WHERE `status` = 'normal' AND `goods_id` = 21 [ RunTime:0.000246s ]
[ SQL ] UPDATE `fa_shop_goods` SET `views`=`views`+1 WHERE `id` = 21 [ RunTime:0.004493s ]
[ SQL ] SHOW COLUMNS FROM `fa_shop_category` [ RunTime:0.000443s ]
[ SQL ] SELECT * FROM `fa_shop_category` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000255s ]
[ SQL ] SHOW COLUMNS FROM `fa_shop_goods_sku_spec` [ RunTime:0.000362s ]
[ SQL ] SELECT MIN(`id`) AS `id`, MIN(`goods_id`) AS `goods_id`, `spec_id` FROM `fa_shop_goods_sku_spec` WHERE `goods_id` = 21 GROUP BY `spec_id` [ RunTime:0.000262s ]
[ SQL ] SHOW COLUMNS FROM `fa_shop_spec` [ RunTime:0.000322s ]
[ SQL ] SELECT * FROM `fa_shop_spec` WHERE `id` IN (4,5) [ RunTime:0.000189s ]
[ SQL ] SELECT `id`,`goods_id`,`spec_id`,`spec_value_id` FROM `fa_shop_goods_sku_spec` WHERE `goods_id` = 21 AND `spec_id` IN (4,5) [ RunTime:0.000223s ]
[ SQL ] SHOW COLUMNS FROM `fa_shop_spec_value` [ RunTime:0.000376s ]
[ SQL ] SELECT * FROM `fa_shop_spec_value` WHERE `id` IN (11,12,16,13,14,15) [ RunTime:0.000279s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `fa_shop_comment` WHERE `goods_id` = 21 AND `status` = 'normal' LIMIT 1 [ RunTime:0.000257s ]
[ SQL ] SELECT * FROM `fa_shop_comment` WHERE `goods_id` = 21 AND `status` = 'normal' LIMIT 0,15 [ RunTime:0.000238s ]
[ SQL ] SHOW COLUMNS FROM `fa_shop_guarantee` [ RunTime:0.000352s ]
[ SQL ] SELECT * FROM `fa_shop_guarantee` WHERE `id` IN (2,1) AND `status` = 'normal' [ RunTime:0.000253s ]
[ SQL ] SHOW COLUMNS FROM `fa_shop_coupon_condition` [ RunTime:0.000361s ]
[ SQL ] SELECT * FROM `fa_shop_coupon_condition` WHERE `type` = 2 OR ( `type` = 1 AND ( 1=2 OR FIND_IN_SET('21',content) ) ) OR ( `type` = 4 AND ( 1=2 OR FIND_IN_SET('9',content) ) ) OR ( `type` = 5 AND ( 1=2 OR FIND_IN_SET('1',content) ) ) [ RunTime:0.000252s ]
[ SQL ] SHOW COLUMNS FROM `fa_shop_coupon` [ RunTime:0.000408s ]
[ SQL ] SELECT * FROM `fa_shop_coupon` WHERE ( condition_ids IS NULL OR condition_ids='' ) AND `is_open` = 1 AND `is_private` = 'no' AND `endtime` > 1737576430 LIMIT 3 [ RunTime:0.000267s ]
[ SQL ] SELECT * FROM `fa_shop_category` WHERE `id` IN (9) [ RunTime:0.000319s ]
[ SQL ] SELECT * FROM `fa_shop_category` WHERE `id` IN (9,10) [ RunTime:0.000296s ]