SELECT `value` FROM `system_settings` WHERE `key` = 'product_mode_config' LIMIT 1 [ RunTime:0.000214s ]
SELECT `id` FROM `categories` WHERE ( `user_id` = 1 AND `status` = 1 AND `product_type` IN (1,2,3) AND `delete_time` IS NULL ) AND `categories`.`delete_time` IS NULL [ RunTime:0.000405s ]
SELECT `value` FROM `system_settings` WHERE `key` = 'product_mode_config' LIMIT 1 [ RunTime:0.000190s ]
SELECT * FROM `categories` WHERE ( `user_id` = 1 AND `status` = 1 AND `product_type` IN (1,2,3) AND `delete_time` IS NULL ) AND `categories`.`delete_time` IS NULL ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000271s ]
SELECT `value` FROM `system_settings` WHERE `key` = 'product_mode_config' LIMIT 1 [ RunTime:0.000179s ]
SELECT count(*),`category_id` FROM `products` WHERE ( `user_id` = 1 AND `status` = 1 AND `audit_status` = 1 AND `is_forced_offline` = 0 AND `product_type` IN (1,2,3) AND `delete_time` IS NULL AND `category_id` = 3 ) AND `products`.`delete_time` IS NULL GROUP BY `category_id` [ RunTime:0.000460s ]
SELECT `value` FROM `system_settings` WHERE `key` = 'product_mode_config' LIMIT 1 [ RunTime:0.000173s ]
SELECT `id`,`uuid`,`name`,`price`,`ladder_pricing`,`cover_image`,`category_id`,`product_type`,`sort`,`min_purchase_quantity`,`max_purchase_quantity`,`purchase_limit_type`,`allow_coupon`,`description`,`is_docking`,`source_product_id`,`docking_type`,`docking_link`,`shop_docking_code`,`docking_api_key`,`card_order_mode`,`delivery_mode`,`stock_display_mode`,`manual_stock`,`manual_stock_limited` FROM `products` WHERE ( `user_id` = 1 AND `status` = 1 AND `audit_status` = 1 AND `is_forced_offline` = 0 AND `product_type` IN (1,2,3) AND `delete_time` IS NULL AND ( `category_id` = 3 OR `category_id` = 0 OR ( `category_id` IS NULL ) ) ) AND `products`.`delete_time` IS NULL ORDER BY `sort` DESC,`id` DESC LIMIT 20 [ RunTime:0.000434s ]
SELECT count(*),`product_id` FROM `card_keys` WHERE `product_id` IN (42,41,40,39,38,37,36) AND `status` = 0 AND `delete_time` IS NULL GROUP BY `product_id` [ RunTime:0.003902s ]
SELECT `value` FROM `system_settings` WHERE `key` = 'product_mode_config' LIMIT 1 [ RunTime:0.000204s ]
SELECT COUNT(*) AS think_count FROM `products` WHERE ( `user_id` = 1 AND `status` = 1 AND `audit_status` = 1 AND `is_forced_offline` = 0 AND `product_type` IN (1,2,3) AND `delete_time` IS NULL AND ( `category_id` = 3 OR `category_id` = 0 OR ( `category_id` IS NULL ) ) ) AND `products`.`delete_time` IS NULL [ RunTime:0.000331s ]
SELECT `deposit`,`login_ip`,`create_ip` FROM `users` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000191s ]
SELECT COUNT(*) AS think_count FROM `orders` WHERE `shop_id` = 1 AND `status` IN (1,2,4,5) [ RunTime:0.000364s ]
SELECT * FROM `shop_qualifications` WHERE `user_id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.000284s ]