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存在,但此用户没有店铺
  • 相关阅读:
    C++中头文件包含的问题
    linux环境变量
    win32进程和线程
    断言
    win32中的常用类型转换
    可变形参
    #define
    CString与char*互相转化
    extern
    手机CPU和GPU厂商
  • 原文地址:https://www.cnblogs.com/520cc/p/3360258.html
Copyright © 2011-2022 走看看