💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
### 接口名称 MicroShop/storeDetail ### 接口描述 店铺详情 ### 演示地址 `http://URL/MicroShop/storeDetail` ### 输入参数 ~~~ (string) oauth_token (必填) (string) oauth_token_secret (必填) (int) user_id 用户id(选填,默认当前用户) ~~~ ### 输出结果 ~~~ ### 开通店铺用户 { "uid": "2", "login": "18310316266", "uname": "TangGuo", "sex": "1", "location": "北京市 北京市 朝阳区", "intro": "candy", "birthday": "0", "avatar_big": "http://demo-coutuan123.b0.upaiyun.com/avatar/c8/1e/72/original.jpg!big.avatar.jpg?v1381484687", "avatar_middle": "http://demo-coutuan123.b0.upaiyun.com/avatar/c8/1e/72/original.jpg!middle.avatar.jpg?v1381484687", "avatar_small": "http://demo-coutuan123.b0.upaiyun.com/avatar/c8/1e/72/original.jpg!small.avatar.jpg?v1381484687", "store_image": "http://192.168.1.154/apps/microshop/_static/images/storebg.png", "occupation_id": "2", "occupation_name": "婚纱摄影", "occupation_icon": "http://192.168.1.154/apps/microshop/_static/images/occupation_icon/xiangji.png", "face": "http://demo-coutuan123.b0.upaiyun.com/avatar/c8/1e/72/original.jpg!small.avatar.jpg?v1381484687", "following_count": "3", "follower_count": "1", "has_store": 1, "follow_state": { "following": 0, "follower": 1 }, "user_tags": [], "share_url": "http://192.168.1.154/index.php?app=public&mod=Public&act=storeDetail&uid=2", "company": "永远", "service": [ { "service_id": "76", "title": "婚庆", "logo": "http://192.168.1.154/apps/microshop/_static/images/servicebg.png", "price": 6999, "collect_count": 0, "share_url": "http://192.168.1.154/index.php?app=public&mod=Public&act=serviceDetail&service_id=76" }, { "service_id": "148", "title": "婚庆", "logo": "http://192.168.1.154/apps/microshop/_static/images/servicebg.png", "price": 6999, "collect_count": 0, "share_url": "http://192.168.1.154/index.php?app=public&mod=Public&act=serviceDetail&service_id=148" } ], "works": [ { "works_id": "36", "title": "哈尔滨婚礼成功案例", "logo": "http://demo-coutuan123.b0.upaiyun.com/2015/0623/13/5588f38668397.jpg", "uid": "2", "active_time": "1419264000", "address": "哈尔滨市南岗区学府路52号", "price": 15800, "share_count": "0", "uname": "TangGuo", "face": "http://demo-coutuan123.b0.upaiyun.com/avatar/c8/1e/72/original.jpg!small.avatar.jpg?v1381484687", "share_url": "http://192.168.1.154/index.php?app=public&mod=Public&act=worksDetail&works_id=36" }, { "works_id": "28", "title": "作品标题", "logo": "http://demo-coutuan123.b0.upaiyun.com/2015/0430/11/55419c5432fb2.jpg", "uid": "1", "active_time": "4294967295", "address": "北京海淀", "price": 10000, "share_count": "0", "uname": "你猜猜T", "face": "http://demo-coutuan123.b0.upaiyun.com/avatar/c4/ca/42/original.jpg!small.avatar.jpg?v1434019465", "share_url": "http://192.168.1.154/index.php?app=public&mod=Public&act=worksDetail&works_id=28" } ] } ### 没开通店铺的用户个人主页信息 { "uid": "12", "login": "18310316230", "uname": "Tangguo8954", "sex": "1", "location": null, "intro": null, "birthday": null, "avatar_big": "http://192.168.1.154/addons/theme/stv1/_static/image/noavatar/big.jpg", "avatar_middle": "http://192.168.1.154/addons/theme/stv1/_static/image/noavatar/middle.jpg", "avatar_small": "http://192.168.1.154/addons/theme/stv1/_static/image/noavatar/small.jpg", "store_image": "http://192.168.1.154/apps/microshop/_static/images/storebg.png", "occupation_id": null, "occupation_name": null, "occupation_icon": null, "face": "http://192.168.1.154/addons/theme/stv1/_static/image/noavatar/small.jpg", "following_count": 0, "follower_count": 0, "has_store": 0, "follow_state": { "following": 0, "follower": 0 }, "user_tags": [], "share_url": "http://192.168.1.154/index.php?app=public&mod=Public&act=storeDetail&uid=12", "share": [ { "feed_id": 15, "uid": "12", "type": "postimage", "app_row_table": "store", "app_row_id": "198", "publish_time": "1432179993", "comment_count": "0", "repost_count": "0", "digg_count": "0", "feed_content": "服务微博", "content": "服务微博", "uname": "Tangguo8954", "avatar": "http://192.168.1.154/addons/theme/stv1/_static/image/noavatar/small.jpg", "price": 0, "is_digg": 0 }, { "feed_id": 9, "uid": "12", "type": "postimage", "app_row_table": "feed", "app_row_id": "0", "publish_time": "1432177637", "comment_count": "0", "repost_count": "0", "digg_count": "0", "feed_content": "123334556", "content": "123334556", "uname": "Tangguo8954", "avatar": "http://192.168.1.154/addons/theme/stv1/_static/image/noavatar/small.jpg", "image": "http://demo-coutuan123.b0.upaiyun.com/2015/0521/11/555d4bdf19269.jpg!550xauto.jpg", "price": 0, "is_digg": 0 } ] } ~~~ ### 其他说明 ~~~ uid 用户id uname 用户昵称 location 店铺地址(需要的时候可以使用) intro 用户简介 store_image 店铺背景 occupation_id 职业id; occupation_name 职业; face 用户头像 following_count 关注数 follower_count 粉丝数 has_store 用户是否有店铺 1有 0 没有 follow_status { following : 1表示已关住用户,0表示没有关注 follower:1表示被关注,0表示否 } user_tags 用户标签 company 公司地址 service 服务列表 { service_id 服务id title 服务标题 logo 服务logo price 糖果价格 collect_count 收藏数 } works 作品列表 { works_id 作品id title 作品标题 logo 作品logo active_time 作品活动时间 address 作品活动地址 uid 作品的作者id uname 用户昵称 face 用户头像 } share 分享列表 { Feed_id 动态主键 Uid 发布者UID Type 类型: post(文字)、 postimage(图片)、 postfile(附件)、 postvideo(视频)、 repost(转发)、 weiba_post(微吧的帖子)、 weiba_repost(帖子的转发) service 服务 works 作品 Content:内容 feed_content 微博内容 digg_count 点赞数 comment_count 评论数 repost_count 转发数 Publish_time:发布时间 Uname:作者名字 Avatar:作者小头像 Image:分享的第一张图片 Price:相关价格 (当 type=service或者works 时显示价格,0 表示价格保密) } share_url 分享URL ~~~