• 大商创开通用户和店铺 sql追踪


    添加用户(账号:wmy123 ,密码:wzd222,id:69)
    INSERT INTO `dsc1`.`dsc_users` (user_name,mobile_phone,email,password) VALUES ('wmy123', '15029383935', 'wzd222@qq.com', 'addf92072794a4b668f70815672ba5c8')


    添加入驻商家
    INSERT INTO `dsc1`.`dsc_merchants_shop_information` (user_id, shoprz_type, subShoprz_type, shop_expireDateStart, shop_expireDateEnd, shop_permanent, authorizeFile, shop_hypermarketFile, shop_categoryMain,
    shopNameSuffix,rz_shopName,hopeLoginName,
    allow_number,steps_audit,merchants_audit,review_goods)
    VALUES ('69', '3', '', '1480445940', '1480445940', '0', '', '', '',
    '专营店','wmy123店','wmy123',
    '0','1','1','1'
    )



    添加入驻商家信息(密码:test123123)
    INSERT INTO `dsc1`.`dsc_admin_user` (user_name, email, password, ec_salt, nav_list, action_list, ru_id) VALUES ('wmy123', '', '19793ac9a60f28770a1488831ee5b67c', '2880', '商品列表|goods.php?act=list,订单列表|order.php?act=list,用户评论|comment_manage.php?act=list,会员列表|users.php?act=list,商店设置|shop_config.php?act=list_edit', 'goods_manage,remove_back,cat_manage,cat_drop,attr_manage,comment_priv,goods_type,goods_auto,virualcard,goods_export,goods_batch,merchants_brand,discuss_circle,feedback_priv,seller_manage,seller_allot,seller_drop,ship_manage,shiparea_manage,warehouse_manage,order_os_edit,order_ps_edit,order_ss_edit,order_edit,order_view,order_view_finished,repay_manage,booking,sale_order_stats,delivery_view,topic_manage,snatch_manage,ad_manage,gift_manage,bonus_manage,auction,group_by,favourable,whole_sale,package_manage,exchange_goods,presale,gift_gard_manage,take_manage,merchants_commission,seller_store_informa,seller_store_other', '69')


    申请等级入驻

    INTO`dsc1`.`dsc_seller_apply_info`(`ru_id`,`grade_id`,`apply_sn`,`total_amount`,`pay_fee`,`fee_num`,`entry_criteria`,`add_time`,`pay_id`,`refund_price`,`back_price`,`payable_amount`) VALUES('66','15','2016120110174811939','0','0','1','a:0:{}','1480529821','0','0','0','0')


    批准等级入驻

    UPDATE`dsc1`.`dsc_seller_apply_info` SET apply_status = '1' , confirm_time = '1480530296',reply_seller= '',is_paid = '1' ,pay_status = '1' , pay_time = '1480530296',valid = '1'  WHERE apply_id = '1'


    添加等级
    INSERT INTO `dsc1`.`dsc_merchants_grade` (`ru_id`,`grade_id`,`add_time`,`year_num`) VALUES ('69','15','1480467983','0')


    添加商品分类

    INSERT INTO `dsc1`.`dsc_category` (cat_id, cat_name, keywords, cat_desc, parent_id, sort_order, measure_unit, show_in_nav, style, is_show, grade, filter_attr, is_top_style, top_style_tpl, is_top_show, pinyin_keyword, cat_alias_name) VALUES ('0', '测试', '', '', '0', '50', '', '0', '', '1', '0', '', '0', '0', '0', 'ceshi', '')


    商户添加品牌

    INSERT INTO `dsc1`.`dsc_merchants_shop_brand`(user_id, brandName, bank_name_letter, site_url, brand_desc, brandLogo, is_show, sort_order, major_business) VALUES (815, '测试', 'ceshi', 'http://', '', '', '1', '50', 0)


    管理员审核品牌

    UPDATE `dsc1`.`dsc_merchants_shop_brand` SET brandName = '农宝', bank_name_letter = 'nongbao',  site_url='http://', brand_desc='' , audit_status= '1', is_show='1', sort_order='50' ,  major_business='0' WHERE bid = '2336'


    添加商品

    INSERT INTO `dsc1`.`dsc_goods` (goods_name, goods_name_style, goods_sn, bar_code, cat_id, user_cat, brand_id, shop_price, market_price, is_promote, promote_price, promote_start_date, promote_end_date, goods_img, goods_thumb, original_img, keywords, goods_brief, seller_note, goods_weight, goods_number, warn_number, integral, give_integral, is_best, is_new, is_hot, is_on_sale, is_alone_sale, is_shipping, goods_desc, add_time, last_update, goods_type, rank_integral, suppliers_id , goods_shipai, user_id, model_price, model_inventory, model_attr, review_status, group_number, store_new, store_hot, store_best, goods_product_tag, is_xiangou, xiangou_num, xiangou_start_date, xiangou_end_date, largest_amount, pinyin_keyword,stages,stages_rate)VALUES ('商品名称', '+', '商品货号', '', '1489', '0', '2330', '13', '15.6', '0','0', '0', '0', '', '', '', '', '', '', '0', '1000', '1', '0', '0', '0', '0', '0', '1', '1', 0, '

    商品描述

    ', '1480609138', '1480609138', '0', '0', '0' , '', '811', '0', '0', '0', '1', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', 'shangpinmingcheng','','')


    审核商品

    UPDATE `dsc1`.`dsc_goods` SET review_status = '4' ,  last_update = '1480609870' WHERE goods_id  IN ('533')

  • 相关阅读:
    Linux文件编辑器 vi
    Sudo 和 Root 帐号
    Linux基本命令篇的习题解答
    Linux应用篇
    VMware中虚拟机网卡的四种模式
    Ubuntu游戏集合
    Linux与Window文件共享
    Linux知识点滴II
    [转载][翻译]jQuery Mobile教程创建一个订餐web应用(下)
    在WPF中创建带有刻度线的滑动条
  • 原文地址:https://www.cnblogs.com/hellowzd/p/6117649.html
Copyright © 2020-2023  润新知