zoukankan      html  css  js  c++  java
  • 淘宝api 开发_获取用户信息

                string url = "http://gw.api.taobao.com/router/rest";
                string appkey = "21635046";
                string appsecret = "fdf7e76c7cf2693d12943f42bb177da1";
                string sessionKey = "6100c084de93ac021c879df03a4f699299a0cfe00b33d5b899573294";
    
           
                ITopClient client = new DefaultTopClient(url, appkey, appsecret);
                ShopGetRequest req = new ShopGetRequest();
                req.Fields = "sid,cid,title,nick,desc,bulletin,pic_path,created,modified";
                req.Nick = "tb6723_80";
                ShopGetResponse response = client.Execute(req);

    错误码

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
    错误码错误描述解决方案
    isv.user-not-exist:invalid-nick user 不存在  
    错误码:40 缺少必要的传入参数 请根据返回的错误信息,将必传参数都填写好
    isv.shop-service-error:SHOP_IS_NOT_EXIST 传入的nick存在,但此用户没有店铺  
    isv.invalid-parameter:user-without-shop 传入的nick存在,但此用户没有店铺
  • 相关阅读:
    mac 下webstorm调节字体大小
    js等于符号的详解
    js运算符相关要点
    js字符串相关要点
    js变量的相关要点
    JS中的let变量
    测试浏览器是否支持JavaScript脚本
    document.write的时机
    Valid Parentheses
    Remove Nth Node From End of List
  • 原文地址:https://www.cnblogs.com/520cc/p/3360258.html
Copyright © 2011-2022 走看看