淘宝网卖家用户编号获取方法

淘宝网同一个卖家用户编号有三种形式,例如:200856226、287b7657ad8f2a45d15f2885f8915620和UvCNWOm8LvCIL,获取方法如下:

第一步:在其店铺任一宝贝详情页获取信用评价页面地址

集市店:
<div data-spm="1000126" id="J_ShopInfo" class="tb-shop-info" data-creditScore="5975" data-creditFlag="blue" data-rateUrl="http://rate.taobao.com/user-rate-287b7657ad8f2a45d15f2885f8915620.htm">

天猫:
<input type="hidden" id="dsr-ratelink" value="http://rate.taobao.com/user-rate-UvFxbMGkYMmv4vNTT.htm"/>

第二步:在信用评价页面获取用户编号(集市店和天猫相同)

<script type="text/javascript">
    g_config.wangpu = {
        "assetsHost": "http://a.tbcdn.cn",
        "pageType": "rate",
        "lazyContainers": "body", // 装修部分需要图片懒加载的区域,类型:String|HTMLElement|Array
        "isvParams": {
        nickName: '',
            userId: '200856226',
            shopId: '57682597',
            siteId: '4',
            itemId: '',
            shopStats: '',
            validatorUrl: 'http://store.daily.taobao.net/tadget/shop_stats.htm',
            templateId: '',
            templateName: ''
        }
    };
</script>

<a href="http://store.taobao.com/shop/view_shop-287b7657ad8f2a45d15f2885f8915620.htm" target="_blank" >绿叶茶香</a>

<script>
KISSY.use('page/init', function(S, Page) {
    Page.init({
        userID: 'UvCNWOm8LvCIL',
        shopID: '57682597',
        isB2C: 'false',
        isArchive: false,
        isSeller: true,
        rate_api: 'http://rate.taobao.com/member_rate.htm',
        month_info_api: 'http://rate.taobao.com/ShopService4C.htm',
        identity: '1'
    });
});
</script>


评论: 0 | 引用: 0 | 查看次数: 3057
发表评论
登录后再发表评论!