操作方式:后台->数据库->sql查询 输入以下你想进行的操作
-- -- 清空会员有关数据: -- TRUNCATE TABLE `ecs_users` ; TRUNCATE TABLE `ecs_user_account` ; TRUNCATE TABLE `ecs_user_bonus` ; TRUNCATE TABLE `ecs_user_address` ; TRUNCATE TABLE `ecs_pay_log` ; TRUNCATE TABLE `ecs_order_info` ; TRUNCATE TABLE `ecs_order_goods` ; TRUNCATE TABLE `ecs_order_action` ; TRUNCATE TABLE `ecs_feedback` ; TRUNCATE TABLE `ecs_delivery_goods`; TRUNCATE TABLE `ecs_delivery_order` ; TRUNCATE TABLE `ecs_comment` ; TRUNCATE TABLE `ecs_collect_goods` ; TRUNCATE TABLE `ecs_back_goods` ; TRUNCATE TABLE `ecs_back_order` ; TRUNCATE TABLE `ecs_admin_log` ; TRUNCATE TABLE `ecs_account_log` ; TRUNCATE TABLE `ecs_cart` ; -- -- 清空商品有关数据 -- TRUNCATE TABLE `ecs_goods` ; TRUNCATE TABLE `ecs_goods_activity` ; TRUNCATE TABLE `ecs_goods_activity` ; TRUNCATE TABLE `ecs_goods_article` ; TRUNCATE TABLE `ecs_goods_attr` ; TRUNCATE TABLE `ecs_goods_cat` ; TRUNCATE TABLE `ecs_goods_gallery` ; TRUNCATE TABLE `ecs_goods_type` ; TRUNCATE TABLE `ecs_group_goods` ; TRUNCATE TABLE `ecs_keywords` ; TRUNCATE TABLE `ecs_products` ; TRUNCATE TABLE `ecs_brand` ; TRUNCATE TABLE `ecs_card` ; TRUNCATE TABLE `ecs_exchange_goods` ; TRUNCATE TABLE `ecs_link_goods` ; TRUNCATE TABLE `ecs_package_goods` ; -- -- 清空分类有关数据 -- TRUNCATE TABLE `ecs_category` ; TRUNCATE TABLE `ecs_cat_recommend` ; -- -- 清空商品类型有关数据 -- TRUNCATE TABLE `ecs_attribute` ;