玉石匠商城
玉石匠商城接口
个人用户操作
个人用户操作接口
个人用户操作 - 个人注册
个人注册接口
http://ahw.zetadata.com.cn/mobile/index.php?act=login&op=register
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=login&op=register
请求参数
名称 | 类型 | 描述 |
---|---|---|
username | string |
账号 |
nickname | string |
昵称 |
password | string |
密码 |
password_confirm | string |
密码确认 |
code | string |
验证码 |
inviteCode | string |
邀请码(非必填) |
recommend_member_id | string |
分享者id(非必填,二维码分享时使用) |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":"200","message":"注册成功","data": [{""}]}
个人用户操作 - 个人登陆
个人登陆接口
http://ahw.zetadata.com.cn/mobile/index.php?act=login&op=index
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=login&op=index
请求参数
名称 | 类型 | 描述 |
---|---|---|
member_account | string |
账号 |
member_password | string |
密码 |
client | string |
'android', 'wap', 'wechat', 'ios' |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "登陆成功!", "datas": { "member_info": { "member_id": "30", "member_name": "18036836430", "member_nickname": "我是一级", "member_truename": "", "member_avatar": "", "member_sex": "0", "member_level": "1", "agent_status": "0", "my_coin": "0.00", "my_coin_count": "0.00", "my_money": "622.40", "my_money_count": "12.40", "inviteCode": "7c4d7538", "member_login_time": "1495159290" }, "identity": 1, //身份标识 "key": "0afb65341cdf792fce7452a0ac93f867" //登陆token } }
个人用户操作 - 添加收货地址
添加收货地址接口
http://ahw.zetadata.com.cn/mobile/index.php?act=address&op=add
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=address&op=add
请求参数
名称 | 类型 | 描述 |
---|---|---|
true_name | string |
真实姓名 |
mobile | string |
手机号 |
address | string |
具体地址 |
province_id | int |
省 |
city_id | int |
市 |
county_id | int |
区 |
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f\uff01","datas":""}
个人用户操作 - 地址列表
地址列表接口
http://ahw.zetadata.com.cn/mobile/index.php?act=address&op=getAddressList
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=address&op=getAddressList
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
默认地址,取第一个 |
{ "code": 200, "message": "操作成功!", "datas": [ { "id": "1", "member_id": "30", "mobile": "18036836430", "true_name": "刘瑞", "address": "和乐家园", "is_default": "1", "province": "广东省", "city": "揭阳市", "county": "揭西县" }, ] }
个人用户操作 - 地址详情
地址详情
http://ahw.zetadata.com.cn/mobile/index.php?act=address&op=index&key=eddda48252aa28a2040fe9ca1228c9e9
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=address&op=index&key=eddda48252aa28a2040fe9ca1228c9e9&id=1
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
id | int |
地址id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "id": "1", "member_id": "30", "mobile": "18036836430", "true_name": "刘瑞", "province_id": "19", "city_id": "308", "county_id": "3151", "address": "和乐家园", "is_default": "1", "province": "广东省", "city": "揭阳市", "county": "揭西县" } }
个人用户操作 - 设置默认地址
设置默认地址接口
http://ahw.zetadata.com.cn/mobile/index.php?act=address&op=setDefaultAddress
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=address&op=setDefaultAddress&key=eddda48252aa28a2040fe9ca1228c9e9&id=1
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
id | int |
地址id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f\uff01","datas":""}
个人用户操作 - 地址更新
更新地址接口
http://ahw.zetadata.com.cn/mobile/index.php?act=address&op=update
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=address&op=update
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
id | int |
地址id |
true_name | string |
姓名 |
mobile | string |
电话 |
address | string |
地址 |
province_id | string |
省 |
city_id | string |
市 |
county_id | string |
区 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回json |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f\uff01","datas":""}
个人用户操作 - 地址删除
地址删除接口
http://ahw.zetadata.com.cn/mobile/index.php?act=address&op=delete
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=address&op=delete&id=1
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
id | int |
地址id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f\uff01","datas":""}
个人用户操作 - 我的下属
我的下属接口
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=getRelationTree
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=getRelationTree
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "level1": { "count": 2, "list": [ { "member_id": "31", "created_at": "1492672466", "member_nickname": "我是二级", "member_avatar": "", "total": "12.00" }, ] }, "total": "12.00" } }
个人用户操作 - 申请代理
申请代理接口
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=applyAgent
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=applyAgent&key=eddda48252aa28a2040fe9ca1228c9e9
请求参数
名称 | 类型 | 描述 |
---|---|---|
mobile | string |
手机号 |
name | string |
真是姓名 |
code | string |
手机验证码 |
address | string |
地址 |
id_card_front | string |
身份证正面 |
id_card_back | string |
身份证反面 |
agent_before | int |
1是;0否 |
agent_type | string |
代理类型 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f\uff01","datas":""}
个人用户操作 - 个人中心
个人中心信息
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=index
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=index&key=eddda48252aa28a2040fe9ca1228c9e9
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "\u64cd\u4f5c\u6210\u529f\uff01", "datas": { "member_id": "30", //用户id "member_nickname": "\u6211\u662f\u4e00\u7ea7", //用户昵称 "member_truename": "", //真实姓名 "member_avatar": "", //头像 "member_sex": "0", //性别 "member_level": "0", //用户等级 "my_coin": "0.00", //当前玉币数 "my_coin_count": "0.00", //玉币总数 "my_money": "0.00", //当前佣金 "my_money_count": "0.00", //佣金总数 "inviteCode": "7c4d7538", //邀请码 "collectStoreNum": "1", //收藏店铺数 "collectGoodsNum": "0", //收藏商品数 "order": { "unPayNum": "0", //未付款订单数 "unReceiveNum": "1", //未收货订单数 "unCommentNum": "1", // 未评论订单数 "finished": "1" //已完成订单数 } } } }
个人用户操作 - 我的资产详情
我的资产详情接口
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=moneyDetail
请求类型:
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=moneyDetail&key=6d9bfa452fb7bcf8a36e078b1f39d6c1
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "money": "622.40", "detail": [ { "id": "143", "money": "12.00", "change_desc": "购买返佣", "created_at": "1495264068" }, { "id": "60", "money": "-95.00", "change_desc": "余额支付", "created_at": "1495098154" }, ], "pagination": { "curpage": 1, "pageCount": 1 } } }
个人用户操作 - 玉币详情
玉币使用详情接口
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=coinDetail
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=coinDetail&key=0afb65341cdf792fce7452a0ac93f867
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "coin": "50", "detail": [ { "id": "12", "coin": "50", "change_desc": "会员注册送玉币", "created_at": "1495525434" } ], "pagination": { "curpage": 1, "pageCount": 1 } } }
个人用户操作 - 用户信息初始化(包含签到)
用户信息初始化
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=init
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=init&key=
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
个人用户操作 - 修改密码
修改密码接口http://ahw.zetadata.com.cn/mobile/index.php?act=member(studio_manager)&op=changePassword
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=changePassword
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=member&op=changePassword&key=0afb65341cdf792fce7452a0ac93f867
请求参数
名称 | 类型 | 描述 |
---|---|---|
old_password | string |
原密码 |
update_password | string |
新密码 |
act | string |
studio_manager(工作室修改密码);member(个人修改) |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f!","datas":""}
个人用户操作 - 个人提现
个人提现申请
/mobile/index.php?act=member&op=withdraw
请求类型:get
/mobile/index.php?act=member&op=withdraw&key=e0e2e174872c2f3cb389b02f034bb778
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
个人登陆token |
amount | float |
金额 |
bank_name | string |
开户行 |
bank_card_no | string |
开户行卡号 |
name | string |
开户行姓名 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | stirng |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f!","datas":""}
评论相关
评论相关接口
评论相关 - 评论接口
评论接口
http://ahw.zetadata.com.cn/mobile/index.php?act=article_comment&op=index
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=article_comment&op=index
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
id | int |
评论文章id |
comment_content | string |
评论类容 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f!","datas":""}
评论相关 - 评论列表
获取评论列表
http://ahw.zetadata.com.cn/mobile/index.php?act=article_comment&op=getComments
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=article_comment&op=getComments
请求参数
名称 | 类型 | 描述 |
---|---|---|
article_id | int |
文章id |
curpage | int |
当前页 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f\uff01","datas":{"commentLists":[{"comment_id":"2","member_id":"7","comment_object_id":"9","created_at":"1492580732","comment_content":"\u6d4b\u8bd5\u8bc4\u8bba","comment_reply_id":null,"comment_reply_member_id":null,"member_name":"18036836430","member_nickname":"\u6211\u662f\u4e00\u7ea7","member_truename":"","member_avatar":"http:\/\/ysj.com\/data\/upload\/shop\/avatar\/avatar_7.jpg"},{"comment_id":"1","member_id":"7","comment_object_id":"9","created_at":"1492580699","comment_content":"\u6d4b\u8bd5\u8bc4\u8bba","comment_reply_id":null,"comment_reply_member_id":null,"member_name":"18036836430","member_nickname":"\u6211\u662f\u4e00\u7ea7","member_truename":"","member_avatar":"http:\/\/ysj.com\/data\/upload\/shop\/avatar\/avatar_7.jpg"}],"pagination":{"curpage":1,"pageCount":1}}}
评论相关 - 收藏接口
收藏接口
http://ahw.zetadata.com.cn/mobile/index.php?act=focus&op=index
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=focus&op=index&id=9&type=1
请求参数
名称 | 类型 | 描述 |
---|---|---|
id | int |
文章id |
type | int |
1 关注 0 取消关注 |
key | string |
登陆token |
focus_type | string |
article:文章,store:店铺,goods:商品 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u5173\u6ce8\u6210\u529f!","datas":""}
评论相关 - 点赞接口
点赞接口
http://ahw.zetadata.com.cn/mobile/index.php?act=praise&op=index
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=praise&op=index
请求参数
名称 | 类型 | 描述 |
---|---|---|
id | int |
文章id |
type | int |
1点赞 2取消 |
token | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u70b9\u8d5e\u6210\u529f!","datas":""}
评论相关 - 获取点赞和收藏状态
获取点赞和收藏状态接口
http://ahw.zetadata.com.cn/mobile/index.php?act=article_comment&op=status
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=article_comment&op=status&key=f56d040db12f41e918ea6ce367b729e1&id=9&type=
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
id | int |
文章id |
type | string |
article:文章,store:店铺,goods:商品 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f\uff01","datas":{"article_id":"9","focused":1,"praised":1}}
评论相关 - 收藏列表
收藏列表接口
http://ahw.zetadata.com.cn/mobile/index.php?act=focus&op=getFocusList
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=focus&op=getFocusList
请求参数
名称 | 类型 | 描述 |
---|---|---|
focus_type | string |
article:文章,store:店铺,goods:商品 |
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f\uff01","datas":[{"studio_id":"85","studio_name":"\u66e6\u66e6\u5de5\u4f5c\u5ba4"}]}
工作室相关
工作室相关接口
工作室相关 - 店铺商品列表
店铺商品列表接口,价格可以是sort=price,desc(升序);sort=price,asc(降序)
http://ahw.zetadata.com.cn/mobile/index.php?act=studio&op=index
请求类型:
http://ahw.zetadata.com.cn/mobile/index.php?act=studio&op=index&studio_id=17&sort=price,desc&keyword=&page=
请求参数
名称 | 类型 | 描述 |
---|---|---|
studio_id | int |
工作室id |
sort | string |
排序规则(综合:sort=all;人气:sort=like;最新;sort=new;价格sort=price,desc) |
keyword | string |
搜索关键字 |
page | int |
每页数据数量 |
curpage | int |
当前页 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回json |
{ "code": 200, "message": "操作成功!", "datas": { "goodsLists": [ { "id": "74", "goods_image": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_name": "test2", "goods_price": "200.00", }, ], "pagination": { "curpage": 1, "pageCount": 1, "page": 10 } } }
工作室相关 - 获取推荐工作室
获取推荐工作室接口
http://ahw.zetadata.com.cn/mobile/index.php?act=site&op=getRecommendStudio
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=site&op=getRecommendStudio
请求参数
名称 | 类型 | 描述 |
---|---|---|
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功,201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "studioLists": [ { "studio_id": "17", "studio_name": "测试1111" }, ] } }
工作室相关 - 编辑店铺
编辑店铺接口
http://ahw.zetadata.com.cn/mobile/index.php?act=studio_manager&op=editStore
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=studio_manager&op=editStore&key=76094bb4bb95d73101175eb91b26da9e
请求参数
名称 | 类型 | 描述 |
---|---|---|
studio_banner | string |
背景图 |
studio_logo | string |
logo图 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
工作室相关 - 店铺首页
店铺首页接口
http://ahw.zetadata.com.cn/mobile/index.php?act=studio&op=storeIndex
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=studio&op=storeIndex
请求参数
名称 | 类型 | 描述 |
---|---|---|
studio_id | int |
工作室id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "studio_id": "17", "studio_name": "测试1111", "studio_bossname": "", "studio_banner": "testtest", "studio_logo": "test1", "studio_city": "苏州市", "star": 0, "goodsCount": 0, "goodsLists": [ { "id": "1", "studio_id": "17", "cover_image": "test", "goods_id": "72", "sort": "0", "created_at": "1495869127", "goods_image": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_name": "测试支付", "goods_price": "1300.00", "have_process": "0", "status": "2" } ] } }
工作室相关 - 工作室订单
工作室订单接口
http://ahw.zetadata.com.cn/mobile/index.php?act=studio_manager&op=order
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=studio_manager&op=order&key=76094bb4bb95d73101175eb91b26da9e
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
status | string |
unpay:待支付;waitSend:待发货;alreadySend:已发货;finished:已完成; |
curpage | int |
当前页 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "studio_name": "测试1111", "orderLists": [ { "order_id": "70", "order_sn": "20170519100330442553", "seller_id": "12", "member_id": "31", "end_at": "1495245810", "member_name": null, "member_address": "和乐家园", "member_mobile": null, "order_amount": "1000.00", "order_status": "26", "remark": null, "created_at": "1495159410", "ticket_id": "18", "id": "68", "studio_id": "79", "goods_id": "72", "goods_name": "测试支付", "goods_thumb": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_num": "1", "cost_price": "1000.00", "agent_price": "1250.00", "goods_price": "1300.00", "goods_pay_price": "1240.00", "order_status_text": "已关闭" }, ], "pagination": { "curpage": 1, "pageCount": 1 } } }
工作室相关 - 工作室订单详情
工作室订单详情接口
/mobile/index.php?act=studio_manager&op=orderDetail
请求类型:get
/mobile/index.php?act=studio_manager&op=orderDetail&key=a48eeaecdf84e2864c3c40097351e61f&order_sn=20170519100330442553
请求参数
名称 | 类型 | 描述 |
---|---|---|
order_sn | string |
订单编号 |
key | string |
工作室登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功", "datas": { "order_id": "70", "order_sn": "20170519100330442553", "seller_id": "12", "member_id": "31", "end_at": "1495245810", "member_name": null, "member_address": "和乐家园", "member_mobile": null, "order_amount": "1000.00", "address_id": "14", "order_status": "26", "remark": null, "created_at": "1495159410", "ticket_id": "18", "id": "68", "studio_id": "79", "goods_id": "72", "goods_name": "测试支付", "goods_thumb": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_num": "1", "cost_price": "1000.00", "agent_price": "1250.00", "goods_price": "1300.00", "goods_pay_price": "1240.00", "order_status_text": "已关闭", "studio": "薄维汉改变世界", "ticket": { "amount": "10.00", "full_amount": "1000.00" }, "address": { "id": "14", "member_id": "31", "mobile": "18036836430", "true_name": "刘瑞", "province_id": "10", "city_id": "166", "county_id": "2075", "address": "2.5产业园", "is_default": "1", "province": "江苏省", "city": "苏州市", "county": "苏州工业园区" } } }
工作室相关 - 工作室添加首页推荐商品
工作室添加首页推荐商品
/mobile/index.php?act=studio_manager&op=addIndexGoods
请求类型:
/mobile/index.php?act=studio_manager&op=addIndexGoods&key=a48eeaecdf84e2864c3c40097351e61f
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
cover_image | string |
推荐封面图 |
goods_id | string |
关联商品id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
工作室相关 - 获取工作室首页推荐商品
获取工作室首页推荐商品接口
/mobile/index.php?act=studio_manager&op=getIndexGoods
请求类型:get
/mobile/index.php?act=studio_manager&op=getIndexGoods&key=a48eeaecdf84e2864c3c40097351e61f
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
工作室登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "studio": { "studio_logo": "", "studio_banner": "" }, "goodsLists": [ { "id": "1", "studio_id": "17", "cover_image": "test", "goods_id": "72", "sort": "0", "created_at": "1495869127", "goods_image": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_name": "测试支付", "goods_price": "1300.00", "have_process": "0", "status": "2" } ] } }
工作室相关 - 删除工作室首页推荐商品
删除工作室首页推荐商品
/mobile/index.php?act=studio_manager&op=delIndexGoods
请求类型:get
/mobile/index.php?act=studio_manager&op=delIndexGoods&key=a48eeaecdf84e2864c3c40097351e61f&id=2
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
id | int |
id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
工作室相关 - 店铺中心
店铺中心接口
/mobile/index.php?act=studio_manager&op=index
请求类型:get
/mobile/index.php?act=studio_manager&op=index&key=76094bb4bb95d73101175eb91b26da9e
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "studio_name": "测试1111", "studio_bossname": "", "studio_logo": "test1", "studio_banner": "testtest", "studio_money": "0.00", "studio_coin": "40", //玉币 "agencyCount": "0", //代理人总数 "sellCount": "2", //出售总数 "soldCount": "1" //售出总数 } }
工作室相关 - 工作室资产明细
工作室资产明细接口
/mobile/index.php?act=studio_manager&op=moneyDetail
请求类型:get
/mobile/index.php?act=studio_manager&op=moneyDetail&key=0a33491d1d8e0febfa2c7bba56a4ab21
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
工作室登陆token |
curpage | int |
当前页 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "money": "0.00", "detail": [ { "id": "176", "money": "0.01", "change_desc": "工作室收益", "created_at": "1496219399" }, ], "pagination": { "curpage": 1, "pageCount": 1 } } }
工作室相关 - 工作室提现
工作室提现
/mobile/index.php?act=studio_manager&op=withdraw
请求类型:get
/mobile/index.php?act=studio_manager&op=withdraw&key=e0e2e174872c2f3cb389b02f034bb778
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
工作室登陆token |
amount | float |
金额 |
bank_name | string |
开户行 |
bank_card_no | string |
开户卡号 |
name | string |
开户姓名 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f!","datas":""}
工作室相关 - 工作室查看订单评价
工作室查看订单评价接口
/mobile/index.php?act=studio_manager&op=orderComments
请求类型:get
/mobile/index.php?act=studio_manager&op=orderComments&key=ce880519370eb3b1503b3c961e34f317
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
工作室登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "comments": [ { "id": "34", "order_id": "36", "goods_id": "72", "comment_image": "", //评论图片 "content": "Qweqwe qwe qwe", //评论类容 "created_at": "1495595392", "studio_id": "79", "goods_name": "test", "goods_thumb": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_num": "0", "cost_price": "0.00", "agent_price": "0.00", "goods_price": "95.00", "goods_pay_price": "95.00" }, ], "pagination": { "curpage": 1, "pageCount": 1 } } }
工作室相关 - 工作室管理优惠券
工作室管理优惠券接口
/mobile/index.php?act=studio_manager&op=allTickets
请求类型:get
/mobile/index.php?act=studio_manager&op=allTickets&key=5c92e19b2b021ad211820e0414256e2b
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
工作室登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
工作室相关 - 编辑正品保证与大师承诺
/mobile/index.php?act=studio_manager&op=editAssure
请求类型:post
/mobile/index.php?act=studio_manager&op=editAssure&key=c10707dbd7bf5f1a68ee098822234dcf
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
type | string |
assure:正品保证;promise:大师承诺 |
content | string |
内容 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f!","datas":""}
工作室相关 - 获取正品保证与大师承诺
/mobile/index.php?act=studio_manager&op=getAssure
请求类型:get
/mobile/index.php?act=studio_manager&op=getAssure
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "assure": "正品保证", "promise": "大师保证" } }
订单相关
订单相关接口
订单相关 - 订单生成
订单生成接口
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=create
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=create&key=eddda48252aa28a2040fe9ca1228c9e9
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
member_address | string |
地址 |
order_amount | string |
订单总额 |
goods_id | int |
商品id |
ticket_id | int |
优惠券id |
payment_code | string |
支付方式(alipay:支付宝,chinabank:银联) |
goods_num | int |
商品数量 |
seller_id | int |
卖家id |
express_code | string |
快递编号 |
address_id | int |
地址id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f\uff01","datas":""}
订单相关 - 订单列表
订单列表接口,返回参数待定
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=getOrderLists
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=getOrderLists&key=eddda48252aa28a2040fe9ca1228c9e9
请求参数
名称 | 类型 | 描述 |
---|---|---|
status | string |
unpay:未支付;unreceive:未收货;finished:已完成; uncomment:待评价; |
key | string |
登陆token |
curpage | string |
当前页 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "orderLists": [ { "order_id": "30", //订单id "order_sn": "20170509141454668762", //订单编号 "seller_id": null, "member_id": "30", "end_at": "1494314280", "member_name": null, "member_address": "江苏省苏州市2.5产业园", "member_mobile": null, "order_amount": "80.00", //订单总额 "order_status": "1", //订单状态 "remark": null, "created_at": "1494310493", //订单创建时间 "ticket_id": "1", "id": "26", "studio_id": "79", "goods_id": "72", "goods_name": "test", //商品名称 "goods_thumb": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", //商品封面图 "goods_num": "1", //商品数量 "goods_price": "95.00", //商品价格 "goods_pay_price": "80.00", //实际成交价格 "status": null, "order_status_text": "待付款", //状态对应中文 "studio": "薄维汉改变世界" //工作室名 }, ], "pagination": { "curpage": 1, "pageCount": 1 } } }
订单相关 - 订单详情
订单详情接口,返回参数待定
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=index
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=index&key=eddda48252aa28a2040fe9ca1228c9e9&order_sn=20170426153947376937
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
order_sn | string |
订单号 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功", "datas": { "order_id": "30", "order_sn": "20170509141454668762", "seller_id": null, "member_id": "30", "end_at": "1494314280", "member_name": null, "member_address": "江苏省苏州市2.5产业园", "member_mobile": null, "order_amount": "80.00", "order_status": "26", "remark": null, "created_at": "1494310493", "ticket_id": "1", "id": "26", "studio_id": "79", "goods_id": "72", "goods_name": "test", "goods_thumb": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_num": "1", "goods_price": "95.00", "goods_pay_price": "80.00", "status": null, "order_status_text": "已关闭", "studio": "薄维汉改变世界", "remain_time": 12, //订单剩余自动关闭时间 "address": { "id": "2", "member_id": "30", "mobile": "18036836430", "true_name": "刘瑞2", "province_id": "10", "city_id": "166", "county_id": "0", "address": "和乐家园2", "is_default": "1", "province": "江苏省", "city": "苏州市", "county": null } } }
订单相关 - 订单取消
订单取消接口
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=cancel&key=eddda48252aa28a2040fe9ca1228c9e9
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=cancel&key=eddda48252aa28a2040fe9ca1228c9e9
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
order_sn | stirng |
订单编号 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f\uff01","datas":""}
订单相关 - 订单确认页面
订单确认页面接口
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=preOrder
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=preOrder&goods_id=72&key=80c1cf3ac0c2f235c6c68660fe9d6261
请求参数
名称 | 类型 | 描述 |
---|---|---|
goods_id | int |
商品id |
key | string |
登陆token |
seller_id | int |
卖家id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "goods": { "id": "72", "jade_id": "304", "studio_id": "79", "goods_name": "test", "goods_image": "cover", "goods_price": "95.00", "goods_size": "200*100", "goods_class": "5", "goods_area": "成都", "master_id": "34", "goods_storage": "1", "detail_image1": "image1", "detail_image2": "image2", "detail_image3": "image3", "detail_image4": "image4", "studio": "薄维汉改变世界" }, "goods_number": 1, //商品结算数量 "goods_amount": "95.00", //结算价格 "have_address": 1, //是否有默认地址 "address": { "id": "2", "member_id": "30", "mobile": "18036836430", "true_name": "刘瑞2", "province_id": "10", "city_id": "166", "county_id": "0", "address": "和乐家园2", "is_default": "1" }, "payment": [ { "payment_id": "2", //支付方式id "payment_code": "alipay", "payment_name": "支付宝", //支付方式名称 "payment_config": "a:4:{s:14:\"alipay_service\";s:25:\"create_direct_pay_by_user\";s:14:\"alipay_account\";s:0:\"\";s:10:\"alipay_key\";s:0:\"\";s:14:\"alipay_partner\";s:0:\"\";}", "payment_state": "1" }, ] } }
订单相关 - 订单确认
订单确认接口
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=confirm
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=confirm&key=eddda48252aa28a2040fe9ca1228c9e9
请求参数
名称 | 类型 | 描述 |
---|---|---|
order_sn | string |
订单编号 |
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f\uff01","datas":""}
订单相关 - 支付订单
支付订单接口
http://ahw.zetadata.com.cn/mobile/index.php?act=pay&op=index
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=pay&op=index&key=80c1cf3ac0c2f235c6c68660fe9d6261&order_sn=20170509141454668762
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
order_sn | string |
订单编号 |
pay_type | string |
支付方式(balance:余额支付,alipay:支付宝) |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
订单相关 - 订单删除
订单删除接口
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=delete
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=delete&key=80c1cf3ac0c2f235c6c68660fe9d6261&order_sn=20170509141454668762
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
order_sn | string |
订单编号 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f","datas":""}
订单相关 - 订单评价
订单评价接口
http://ahw.zetadata.com.cn/mobile/index.php?act=order&op=comment
请求类型:post
http://ahw.zetadata.cn/mobile/index.php?act=order&op=comment&key=7cd23dd15a75c999b2ce7785c8998df8
请求参数
名称 | 类型 | 描述 |
---|---|---|
content | string |
类容 |
comment_image | string |
图片 |
order_id | int |
订单id |
goods_id | int |
商品id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u4ee3\u7406\u6210\u529f!","datas":""}
订单相关 - 订单发货
工作室发货接口
http://ahw.zetadata.com.cn/mobile/index.php?act=studio_manager&op=sendOutGoods
请求类型:
http://ahw.zetadata.com.cn/mobile/index.php?act=studio_manager&op=sendOutGoods&key=3ce3c5bd801b068c4bddf55e4b0f4cde&order_sn=20170519100330442553
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
工作室登陆token |
order_sn | string |
订单号 |
shipping_code | string |
物流单号 |
express_code | string |
物流公司编号 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u4ee3\u7406\u6210\u529f!","datas":""}
订单相关 - 获取物流
获取物流接口
/mobile/index.php?act=order&op=getExpress
请求类型:get
/mobile/index.php?act=order&op=getExpress&order_sn=20170519100330442553
请求参数
名称 | 类型 | 描述 |
---|---|---|
order_sn | string |
订单号 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "message": "ok", "nu": "667497602482", "ischeck": "1", "condition": "F00", "com": "tiantian", "status": "200", "state": "3", "data": [ { "time": "2017-04-29 22:37:44", "ftime": "2017-04-29 22:37:44", "context": "快件已签收,签收人是朋友,签收网点是苏州新区三(0512-68183480)", "location": "" }, ] } }
订单相关 - 物流公司
物流公司列表
/mobile/index.php?act=order&op=allExpress
请求类型:get
/mobile/index.php?act=order&op=allExpress
请求参数
名称 | 类型 | 描述 |
---|---|---|
keyword | string |
按快递公司名可搜索 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": [ { "id": "29", "e_name": "顺丰快递", "e_code": "shunfeng" }, { "id": "44", "e_name": "中通快递", "e_code": "zhongtong" }, ] }
代理相关
代理相关接口
代理相关 - 代理大厅
代理大厅
http://ahw.zetadata.com.cn/mobile/index.php?act=agent&op=goodsCenter
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=agent&op=goodsCenter&key=d3c6141026f8257dcd3801206be46fab
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "goodsLists": [ { "id": "5", "class_name": "挂件", "detail": [ { "id": "74", "goods_name": "test2", "goods_image": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_price": "200.00" }, ] }, { "id": "7", "class_name": "把件" } ] } }
代理相关 - 代理商品
代理商品接口
http://ahw.zetadata.com.cn/mobile/index.php?act=agent&op=agencyGoods
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=agent&op=agencyGoods&key=d3c6141026f8257dcd3801206be46fab
请求参数
名称 | 类型 | 描述 |
---|---|---|
goods_id | int |
商品id |
extra_price | int |
加价 |
key | string |
登陆token |
xs_id | int |
限时代理入口进入需传给后台(其它入口不需要) |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u4ee3\u7406\u6210\u529f!","datas":""}
代理相关 - 我的代理
我代理的相关商品
http://ahw.zetadata.com.cn/mobile/index.php?act=agent&op=myAgent
请求类型:
http://ahw.zetadata.com.cn/mobile/index.php?act=agent&op=myAgent
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
status | string |
onsale:出售中;already:已出售 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "goodsLists": [ { "id": "2", "member_id": "30", "extra_price": "100.00", "goods_id": "68", "goods_image": "mobile/upload/images/20170413/20170413_58eedb1fa1f2c.jpeg", "goods_name": "test", "goods_price": "100.00", "studio_id": null, "studio_name": "薄维汉改变世界", "status": "3", "created_at": "1493348357", "status_text": "已出售" } ], "pagination": { "curpage": 1, "pageCount": 1 } } }
代理相关 - 更多代理商品
更多代理商品接口
http://ahw.zetadata.com.cn/mobile/index.php?act=agent&op=moreGoods
请求类型:
http://ahw.zetadata.com.cn/mobile/index.php?act=agent&op=moreGoods&key=&class_id=5
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
class_id | int |
分类id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "goodsLists": [ { "id": "72", "goods_name": "test1", "goods_image": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_price": "95.00" }, ], "pagination": { "curpage": 1, "pageCount": 1 } } }
代理相关 - 代理分享商品
代理分享商品之后,调用此接口,若分享人是一级代理,商品价格变为代理价
/mobile/index.php?act=goods&op=index
请求类型:get
/mobile/index.php?act=goods&op=index&goods_id=72&seller_id=12
请求参数
名称 | 类型 | 描述 |
---|---|---|
goods_id | int |
商品id |
seller_id | int |
分享者id(即为卖家id) |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "seller_id": "30", //分享者id,即为卖家id "goods": { "id": "72", "jade_id": "304", "studio_id": "79", "goods_name": "测试支付", "goods_image": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_price": "95.00", "goods_size": "200*100", "goods_class": "5", "goods_area": "成都", "master_id": "34", "goods_storage": "0", //商品库存 "status": "3", "detail_image1": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "detail_image2": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "detail_image3": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "detail_image4": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "allow_agent": "1", "agent_price": "250.00" //代理商价格 } } }
代理相关 - 代理收益
代理收益接口
http://ahw.zetadata.com.cn/mobile/index.php?act=agent&op=profit
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=agent&op=profit&key=7cd23dd15a75c999b2ce7785c8998df8
请求参数
名称 | 类型 | 描述 |
---|
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "sum": "60.00", //收益总和 "detail": [ { "id": "51", "money": "20", //收益 "goods_id": "72", "goods_name": "test", "created_at": "1494471493" }, ], "pagination": { "curpage": 1, "pageCount": 1 } } }
代理相关 - 限时代理
限时代理
/mobile/index.php?act=agent&op=timeLimitGoods
请求类型:get
/mobile/index.php?act=agent&op=timeLimitGoods&key=60d67d748b47c5c4c168b60a962d332f
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": [ { "id": "1", "begin_date": "2017-06-07 00:00:00", "end_date": "2017-06-08 00:00:00", "begin_at": "1496764800", "end_at": "1496851200", "desc_type": "under_way", "remain_time": 44973, "desc": "正在进行", "goodsLists": [ { "id": "2", "xs_id": "1", "goods_id": "72", "goods_image": null, "goods_name": "测试22", "goods_price": "1100.00", "sort": "0" }, { "id": "1", "xs_id": "1", "goods_id": "72", "goods_image": null, "goods_name": "测试支付", "goods_price": "1000.00", "sort": "0" } ] } ] }
代理相关 - 限时代理更多
/mobile/index.php?act=agent&op=moreTimeLimitGoods
请求类型:get
/mobile/index.php?act=agent&op=moreTimeLimitGoods&key=60d67d748b47c5c4c168b60a962d332f&xs_id=1
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
xs_id | string |
限时id |
curpage | int |
当前页 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "goodsLists": [ { "id": "1", "xs_id": "1", "goods_id": "122", "goods_image": "mobile/upload/images/20170602/20170602_59313511afa2a.jpeg", "goods_name": "HttpClientMgr", "goods_price": "6000.00", "sort": "0" } ], "pagination": { "curpage": 1, "pageCount": 1 } } }
商品相关
商品相关接口
商品相关 - 商品详情
商品详情接口
http://ahw.zetadata.com.cn/mobile/index.php?act=goods&op=index
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=goods&op=index&goods_id=67
请求参数
名称 | 类型 | 描述 |
---|---|---|
goods_id | int |
商品id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "id": "72", "jade_id": "304", //原石id "studio_id": "79", //工作室id "goods_name": "test", //商品名 "goods_image": "cover", //商品主图 "goods_price": "95.00", //商品出售价 "goods_size": "200*100", //商品尺寸 "goods_class": "5", "goods_area": "成都", //商品产地 "master_id": "34", "goods_storage": "1", //库存 "detail_image1": "image1", //详情图1 "detail_image2": "image2", "detail_image3": "image3", "detail_image4": "image4", "studio": "薄维汉改变世界", //工作室名 "goods_class_name": "父类1", //分类名 "prize_abstract": '', "certificate_image": '', "goods_video": '', "video_cover": '', "master": { "id": "34", "studio_id": "17", "master_name": "rotk同图", //大师名称 "master_avatar": "mobile/upload/images/20170324/20170324_58d4f81a8d3ad.jpeg", //大师头像 "master_description": "咯女肯旅途旅途是开疆扩土推荐过", //大师简介 }, "process": [] } }
商品相关 - 库存列表
库存列表
http://ahw.zetadata.com.cn/mobile/index.php?act=stone_goods&op=goodsLists
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=stone_goods&op=goodsLists&key=c08b28c6015ad4a8d707023c5aa3de2c
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
status | string |
onSale:出售在;already:已出售 |
sort | string |
排序(发布时间:publish_at,desc;出售时间:sold_at,desc) |
allow_agent | int |
是否可代理(1:是;0:否) |
goods_class | int |
商品分类 |
sold_way | string |
(sold_way = agent):代理销售 |
keyword | string |
搜索关键字 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "inventory": [ { "id": "97", "goods_image": "测试筛选3", "goods_price": "0.00", "goods_class": "5", "goods_storage": "0", "status": "1", "allow_agent": "0", "status_text": "未上架", "agent_text": "不可代理", "class_name": "摆件" }, ], "pagination": { "curpage": 1, "pageCount": 1, "page": 10 } } }
商品相关 - 编辑商品
编辑商品接口
http://ahw.zetadata.com.cn/mobile/index.php?act=stone_goods&op=editGoods
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=stone_goods&op=editGoods
请求参数
名称 | 类型 | 描述 |
---|---|---|
goods_price | float |
价格 |
goods_name | string |
商品名称 |
goods_class | int |
商品分类 |
goods_image | string |
商品主图 |
market_price | float |
市场价 |
goods_storage | int |
库存,默认为1 |
allow_agent | int |
是否可代理,可代理为1,不可代理为0 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":"200","message":"操作成功","data": [{""}]}
商品相关 - 商品分类
商品分类接口
http://ahw.zetadata.com.cn/mobile/index.php?act=goods&op=getGoodsClass
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=goods&op=getGoodsClass(&pid=1&recommend=1)
请求参数
名称 | 类型 | 描述 |
---|---|---|
pid | int |
通过pid获取二级分类(非必填,不填则获取 一级分类) |
recommend | int |
获取首页推荐的分类(非必填) |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | jaon |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": [ { "id": "5", //分类id "class_name": "父类1", //分类名 "class_image": "http://ysj.com/data/upload/zeta_goods/goods_class/05472917993722687_sm.png", //分类图片 "parent_id": "0", //父类id "is_recommend": "1", //是否推荐首页 "sort": "2" //排序 } ] }
商品相关 - 添加商品
添加商品接口
http://ahw.zetadata.com.cn/mobile/index.php?act=stone_goods&op=add
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=stone_goods&op=add&key=568817f31a0331603f0d48859a2ca6f2
请求参数
名称 | 类型 | 描述 |
---|---|---|
goods_image | string |
主图片 |
detail_image1 | string |
详情图 |
detail_image2 | ||
detail_image3 | ||
detail_image4 | ||
goods_name | string |
商品名称 |
goods_price | float |
出售价格 |
goods_class | int |
商品分类 |
agent_price | float |
代理结算价 |
goods_storage | int |
库存 默认为1 |
allow_agent | int |
是否可代理(1:是) |
goods_area | string |
产地 |
goods_size | string |
尺寸 |
master_id | string |
大师 |
status | string |
onSale:出售中,unSale:下架 |
key | string |
登陆token |
class1 | string |
自定义分类1(格式5-7-11) |
class2 | string |
自定义分类2 |
class3 | string |
自定义分类3 |
goods_video | string |
视频路径 |
video_cover | string |
视频封面 |
prize_abstract | string |
奖项简介 |
certificate_image | string |
证书图片 |
product_id | int |
成品id(选择成品添加成商品) |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u4fdd\u5b58\u6210\u529f!","datas":""}
商品相关 - 分类获取商品列表(以及商品筛选)
分类获取商品列表接口
http://ahw.zetadata.com.cn/mobile/index.php?act=goods&op=getGoodsByClass
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=goods&op=getGoodsByClass&class_id=6&curpage=1
请求参数
名称 | 类型 | 描述 |
---|---|---|
class_id | int |
分类id |
price | string |
价格区间(0-500;) |
filter | string |
所选分类(5-6-11,5-9-13,5-12-16),最多选择3个 |
curpage | string |
当前页 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "goodsLists": [ { "id": "76", "goods_image": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_name": "test4", "goods_price": "540.00" } ], "pagination": { "curpage": 1, "pageCount": 1 } } }
商品相关 - 获取首页导航标签
获取首页导航标签,标签后台可配
http://ahw.zetadata.com.cn/mobile/index.php?act=goods_recommend&op=index
请求类型:
http://ahw.zetadata.com.cn/mobile/index.php?act=goods_recommend&op=index
请求参数
名称 | 类型 | 描述 |
---|
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201失败 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": [ { "nav_id": "4", "nav_name": "推荐", "short_name": "nav_recommend" }, { "nav_id": "5", "nav_name": "今日新品", "short_name": "nav_new" }, { "nav_id": "6", "nav_name": "优选精品", "short_name": "nav_good" }, { "nav_id": "7", "nav_name": "热销精选", "short_name": "nav_hot" } ] }
商品相关 - 获取首页导航标签商品列表
通过nav_id(即导航标签id)获取商品列表,商品列表后台可配置
http://ahw.zetadata.com.cn/mobile/index.php?act=goods_recommend&op=index
请求类型:
http://ahw.zetadata.com.cn/mobile/index.php?act=goods_recommend&op=index&short_name=nav_recommend
请求参数
名称 | 类型 | 描述 |
---|
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "goodsLists": [ { "id": "72", "goods_name": "测试支付", "goods_image": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_price": "95.00" }, ], "pagination": { "curpage": 1, "pageCount": 1 } } }
商品相关 - 今日新品
获取商品接口,加上参数time=todaty,即可获取今日新品列表
http://ahw.zetadata.com.cn/mobile/index.php?act=goods&op=getGoodsLists
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=goods&op=getGoodsLists&time=today
请求参数
名称 | 类型 | 描述 |
---|---|---|
time | string |
today(获取今日新品) |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "goodsLists": [ { "id": "72", "goods_image": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_name": "测试支付", "goods_price": "95.00" } ], "pagination": { "curpage": 1, "pageCount": 1 } } }
商品相关 - 大师商品列表
大师商品列表接口
http://ahw.zetadata.com.cn/mobile/index.php?act=goods&op=getMasterGoods
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=goods&op=getMasterGoods&master_id=34
请求参数
名称 | 类型 | 描述 |
---|---|---|
master_id | int |
大师id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "master": { "id": "34", "studio_id": "17", "master_name": "rotk", "master_avatar": "mobile/upload/images/20170324/20170324_58d4f81a8d3ad.jpeg", "master_description": "推荐", "status": null, "created_at": "1490352174", "updated_at": "1490352174" }, "goodsLists": [ { "id": "72", "goods_image": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_name": "测试支付", "goods_price": "95.00" }, ], "pagination": { "curpage": 1, "pageCount": 1 } } }
商品相关 - 按条件(工作室,大师,题材,材质,商品)搜索
按条件(工作室,大师)搜索接口
http://ahw.zetadata.com.cn/mobile/index.php?act=search&op=index
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=search&op=index&type=master&keyword=rotk
请求参数
名称 | 类型 | 描述 |
---|---|---|
type | string |
master:大师;studio:工作室;subject:题材;material:材质;goods:商品 |
keyword | string |
搜索关键字 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "searchLists": [ { "id": "34", "master_name": "rotk", "master_avatar": "mobile/upload/images/20170324/20170324_58d4f81a8d3ad.jpeg", "master_description": "推荐" } ], "pagination": { "curpage": 1, "pageCount": 1 } } }
商品相关 - 仓库商品详情
仓库编辑商品时,调用详情接口
http://ahw.zetadata.com.cn/mobile/index.php?act=stone_goods&op=index
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=stone_goods&op=index&key=c08b28c6015ad4a8d707023c5aa3de2c
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
id | int |
商品id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
商品相关 - 商品评价列表
获取商品评价列表
http://ahw.zetadata.com/mobile/index.php?act=goods&op=comments
请求类型:get
http://ahw.zetadata.com/mobile/index.php?act=goods&op=comments&goods_id=72
请求参数
名称 | 类型 | 描述 |
---|---|---|
goods_id | int |
商品id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "comments": [ { "id": "4", "order_id": "36", "goods_id": "72", "comment_image": "", "content": "Qweqwe qwe qwe", "created_at": "1495595392", "order": { "order_id": "36", "studio_id": "79", "goods_name": "test", "goods_thumb": "mobile/upload/images/20170413/20170413_58eeea7cbedff.jpeg", "goods_num": "0", "goods_price": "95.00", "goods_pay_price": "95.00" } }, ], "pagination": { "curpage": 1, "pageCount": 1 } } }
优惠券相关
优惠券相关接口
优惠券相关 - 我的优惠卷
我的优惠卷列表
http://ahw.zetadata.com.cn/mobile/index.php?act=ticket&op=getTicketLists
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=ticket&op=getTicketLists&key=80c1cf3ac0c2f235c6c68660fe9d6261&type=studio
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
type | string |
平台:platform;商家:studio;所有:all |
amount | int |
订单价格 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "ticketLists": [ { "name": "test", //优惠券名称 "amount": "20.00", //优惠券金额 "full_amount": "1000.00", //优惠券满消费 "begin_at": null, //优惠卷开始时间 时间戳 "end_at": null, //优惠券结束时间 "id": "1", "type": "2", "member_id": "30", "ticket_id": "1", //优惠券id "status": "0", "created_at": "0", "status_text": "未使用" } ], "pagination": { "curpage": 1, "pageCount": 1 } } }
优惠券相关 - 确认订单页面优惠券
确认订单页面优惠券接口
http://ahw.zetadata.com.cn/mobile/index.php?act=ticket&op=orderTicket
请求类型:
http://ahw.zetadata.com.cn/mobile/index.php?act=ticket&op=orderTicket&key=80c1cf3ac0c2f235c6c68660fe9d6261&type=studio&amount=1000&studio_id=85
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
type | string |
平台:platform;商家:studio;所有:all |
amount | int |
金额 |
studio_id | int |
商家id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "ticketLists": [ { "name": "test", //优惠券名称 "amount": "20.00", //优惠券金额 "full_amount": "1000.00", //优惠券满消费 "begin_at": null, //优惠卷开始时间 时间戳 "end_at": null, //优惠券结束时间 "id": "1", "type": "2", "member_id": "30", "ticket_id": "1", //优惠券id "status": "0", "created_at": "0", "status_text": "未使用" } ], } }
优惠券相关 - 创建优惠券
创建优惠券接口
http://ahw.zetadata.com.cn/mobile/index.php?act=studio_manager&op=createTicket
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=studio_manager&op=createTicket
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
工作室登陆token |
number | int |
数量 |
amount | int |
金额 |
full_amount | int |
消费满金额 |
begin_at | string |
开始时间戳 |
end_at | string |
结束时间戳 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f!","datas":""}
优惠券相关 - 工作室优惠券列表
工作室优惠券列表接口
http://ahw.zetadata.com.cn/mobile/index.php?act=studio&op=alltickets
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=studio&op=alltickets
请求参数
名称 | 类型 | 描述 |
---|---|---|
studio_id | int |
工作室id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "studio_name": "测试1111", //工作室名 "ticketLists": [ { "id": "6", //优惠券id "studio_id": "17", //工作室id "amount": "10.00", //金额 "full_amount": "1000.00", //满消费金额 "count": "10", //数量 "begin_at": "1494579758", //开始时间戳 "end_at": "1494579907" //结束时间戳 }, ] } }
优惠券相关 - 领取优惠券
领取优惠券接口
http://ahw.zetadata.com.cn/mobile/index.php?act=ticket&op=receiveTicket
请求类型:get
http://ahw.zetadata.com.cn/mobile/index.php?act=ticket&op=receiveTicket
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
ticket_id | int |
优惠券id |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f!","datas":""}
系统相关
系统相关接口
系统相关 - 意见反馈
意见反馈接口
http://ahw.zetadata.com.cn/mobile/index.php?act=about&op=feedback
请求类型:post
http://ahw.zetadata.com.cn/mobile/index.php?act=about&op=feedback
请求参数
名称 | 类型 | 描述 |
---|---|---|
content | string |
反馈内容(必填) |
userinfo | string |
用户信息(选填),邮箱或者手机号 |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{"code":200,"message":"\u64cd\u4f5c\u6210\u529f!","datas":""}
消息相关
消息相关接口
消息相关 - 消息列表
交易相关消息列表
/mobile/index.php?act=member(studio_manager)&op=getNotices
请求类型:get
/mobile/index.php?act=member(studio_manager)&op=getNotices&key=c7723d18fc34bb2a9af734ccee150b67
请求参数
名称 | 类型 | 描述 |
---|---|---|
key | string |
登陆token |
act | string |
member(个人);studio_manager(工作室) |
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "noticeLists": [ { "id": "10", "type": null, "identity": "1", "member_id": "31", "order_id": "91", "content": "您的订单20170531105040875112已发货,请注意查收!", "viewed": "1", "viewed_at": "1496217382", "created_at": "1496214261" } ], "pagination": { "curpage": 1, "pageCount": 1 }, "notViewNum": "0" } }
首页相关
首页相关
首页相关 - 商城首页轮播图
商城首页轮播图
mobile/index.php?act=site&op=indexBanner
请求类型:
mobile/index.php?act=site&op=indexBanner
请求参数
名称 | 类型 | 描述 |
---|---|---|
成功 200
名称 | 类型 | 描述 |
---|---|---|
code | string |
200成功 201错误 |
message | string |
返回信息 |
datas | json |
返回数组 |
{ "code": 200, "message": "操作成功!", "datas": { "index_url": "/index.php", "service_url": "/index.php", "advLists": [ { "adv_id": "21", "ap_id": "376", "adv_title": "首页轮播1", "adv_content": "a:2:{s:7:\"adv_pic\";s:21:\"05499863308582796.jpg\";s:11:\"adv_pic_url\";s:23:\"http://www.baidu.com.cn\";}", "adv_start_date": "1496592000", "adv_end_date": "1498752000", "slide_sort": "0", "member_id": "0", "member_name": "", "click_num": "0", "is_allow": "1", "buy_style": "", "goldpay": "0", "adv_pic": "data/upload/shop/adv/05499863308582796.jpg", "adv_pic_url": "http://www.baidu.com.cn" } ] } }