## 品牌信息
~~~[api]
get:http://global.aumalls.com/apibrand/brand_list
type#请求类型 (非必须)
cid#品牌父分类ID (非必须)
<<<
success
{
"code":20000,
"msg":"商品分类列表",
"data":{"id":"1","name":"营养保健","parent_id":"0","sort":"0","visibility":"1","keywords":"","descript":"","title":"","seller_id":"0","pic":null},{"id":"2","name":"美妆个护","parent_id":"0","sort":"0","visibility":"1","keywords":"","descript":"","title":"","seller_id":"0","pic":"upload\/category\/20170629\/20170629155302203.jpg"},{"id":"3","name":"维生素","parent_id":"1","sort":"0","visibility":"1","keywords":"","descript":"","title":"","seller_id":"0","pic":null}]
}
<<<
error
{
"code": 40002,
"msg": "接口验证失败",
}
~~~
#### 说明
1. 提交数据:和注册登录一致;
2. 参数$type top:品牌分类,sub:分类下的品牌,默认不传:全部品牌;
3. 参数$cid 当参数type=sub 请求分类下的品牌信息,请附带此值
4. 此链接为分类对应的商品列表页链接地址 http://www.x.com/apigoods/get_goods_list/brand/$brandId ($brandId为品牌ID)
* success返回数据:
1. type='' 全部品牌
(url:http://www.x.com/apibrand/brand_list/sign/74EFFB6E8889317F5955A0744C9090A9)
{"code":20000,"msg":"品牌信息","data":[{"id":"1","name":"Swisse","logo":"upload/2017/06/26/20170626155931215.png","url":"","description":"品牌1","sort":"0","category_ids":"1"},{"id":"2","name":"护肝宝","logo":"upload/2017/06/28/20170628092512733.jpg","url":"","description":"品牌2","sort":"0","category_ids":"3"},{"id":"3","name":"护肾灵","logo":"upload/2017/06/28/20170628100211486.jpg","url":"","description":"品牌3","sort":"0","category_ids":"2"},{"id":"4","name":"licence","logo":"upload/2017/06/28/20170628162056839.jpg","url":"","description":"品牌4","sort":"0","category_ids":"1"}]}
2. type=top 品牌分类
(url:http://www.x.com/apibrand/brand_list/sign/74EFFB6E8889317F5955A0744C9090A9)
{"code":20000,"msg":"品牌信息","data":[{"id":"3","name":"品牌分类3","goods_category_id":"0"},{"id":"2","name":"品牌分类2","goods_category_id":"0"},{"id":"1","name":"品牌分类1","goods_category_id":"0"}]}
3. type=sub 分类下的品牌
(url:http://www.x.com/apibrand/brand_list/sign/74EFFB6E8889317F5955A0744C9090A9/)
{"code":20000,"msg":"品牌信息","data":[{"id":"1","name":"Swisse","logo":"upload/2017/06/26/20170626155931215.png","url":"","description":"电饭锅第三个讽德诵功电饭锅","sort":"0","category_ids":"1"},{"id":"4","name":"licence","logo":"upload/2017/06/28/20170628162056839.jpg","url":"","description":"ddddd","sort":"0","category_ids":"1"}]}
- 用户
- 注册
- 登录
- 第三方登录
- 绑定手机号
- 重置密码
- 忘记密码
- 用户中心
- 总信息
- 用户统计
- 用户信息
- 用户编辑
- 修改密码
- 访问足迹
- 收货地址
- 地址-查询
- 地址-编辑
- 默认地址
- 地址-删除
- 系统消息
- 系统已读消息
- 系统消息删除
- 系统消息未读
- 积分记录
- 积分兑换
- 平台代金券
- 我的代金券
- 商品
- 商品分类
- 商品子分类
- 商品检索条件
- 商品列表
- 推荐商品列表
- 商品详情
- 规格更新
- 商品搜索
- 商品评价列表
- 品牌
- 购物车
- 加入
- 购物车
- 选取商品
- 改变数量
- 删除商品
- 购物车总数
- 收藏夹
- 收-查询
- 收-添加
- 收-删除
- 收藏店铺
- 铺-查询
- 铺-添加
- 铺-删除
- 店铺
- 店-首页
- 店-列表
- 店-详情
- 订单
- 订单列表
- 订单详情
- 订单确认
- 生成订单
- 要支付订单
- 订单改变状态
- 支付订单数
- 商品评价图片上传
- 商品评价添加
- 是否需要身份证
- 上传身份证
- 物流跟踪
- 支付
- 支付宝
- 微信
- 营销活动
- 限时抢购
- 拼团参团
- 拼团商品列表
- 用户优惠券列表
- 店铺优惠券
- 新人大礼包
- 领取优惠券
- 申请退货
- 申请退货列表
- 退货图片上传
- 申请退货
- 其他
- 手机图片
- 地区
- 搜索
- 分享in
- 分享out
- 扫码
- 扫码后
- 发送短信
- 验证短信
- 到货通知
- icon
- Android版本
- 接口验证说明
- 返回code说明