优特云
[ { "name": "首页", "url": "http://www.utyun.com/", "target": "0", "child": [] }, { "name": "活动", "url": "http://www.utyun.com/h-col-141.html", "target": "0", "child": [] }, { "name": "产品", "url": "", "target": "1", "child": [ { "name": "U语言", "url": "http://www.utyun.com/h-col-176.html", "target": "0", "child": [] }, { "name": "U平台", "url": "http://www.utyun.com/h-col-150.html", "target": "0", "child": [] } ] }, { "name": "技术与服务", "url": "", "target": "1", "child": [ { "name": "运维服务", "url": "http://www.utyun.com/h-col-161.html", "target": "0", "child": [] }, { "name": "技术方案", "url": "http://www.utyun.com/h-col-178.html", "target": "0", "child": [] } ] }, { "name": "优特云学院", "url": "", "target": "1", "child": [ { "name": "教程", "url": "http://www.utyun.com/h-col-166.html", "target": "0", "child": [] }, { "name": "下载中心", "url": "http://www.utyun.com/h-col-170.html", "target": "0", "child": [] }, { "name": "论坛", "url": "http://www.utyun.com/h-col-169.html", "target": "0", "child": [] } ] }, { "name": "关于优特云", "url": "", "target": "1", "child": [ { "name": "企业概况", "url": "http://www.utyun.com/h-col-171.html", "target": "0", "child": [] }, { "name": "新闻动态", "url": "http://www.utyun.com/h-col-172.html", "target": "0", "child": [] }, { "name": "加入我们", "url": "http://www.utyun.com/h-col-173.html", "target": "0", "child": [] }, { "name": "团队风采", "url": "http://www.utyun.com/h-col-140.html", "target": "0", "child": [] } ] } ]
v0.06.00
商品服务(goods)-品牌管理

伟 最后一次编辑

3 年多前 30

新增或更新品牌

基本信息

Path: /goods/brand/save

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
store_id string 必须 店铺ID
brand_apply integer 必须 品牌申请,0为申请中,1为通过,默认为1,申请功能是会员使用 format: int32
brand_showtype integer 必须 品牌展示类型 format: int32
brand_initial string 必须 品牌首字母
brand_name string 必须 品牌名称
brand_pic string 必须 品牌图片
sort integer 必须 品牌排序 format: int32
brand_recommend integer 必须 品牌推荐,0为否,1为是 format: int32
brand_id string 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ id string 必须 商品ID

删除品牌

基本信息

Path: /goods/brand/delete

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
brand_id string 必须 品牌ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须 响应数据

查询品牌列表

基本信息

Path: /goods/brand/list

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pageno integer 必须 当前页数 format: int32
pagesize integer 必须 每页的记录数 format: int32

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ store_id string 必须 店铺ID
├─ brand_apply integer 必须 品牌申请,0为申请中,1为通过,默认为1,申请功能是会员使用 format: int32
├─ brand_showtype integer 必须 品牌展示类型 format: int32
├─ brand_initial string 必须 品牌首字母
├─ brand_name string 必须 品牌名称
├─ brand_pic string 必须 品牌图片
├─ sort integer 必须 品牌排序 format: int32
├─ brand_recommend integer 必须 品牌推荐,0为否,1为是 format: int32
├─ brand_id string 非必须
page object 非必须
├─ total integer 非必须 format: int64
├─ records integer 非必须 format: int64
├─ pageno integer 非必须 format: int32
├─ pagesize integer 非必须 format: int32

获取品牌信息

基本信息

Path: /goods/brand/get

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
brand_id string 必须 品牌ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ store_id string 必须 店铺ID
├─ brand_apply integer 必须 品牌申请,0为申请中,1为通过,默认为1,申请功能是会员使用 format: int32
├─ brand_showtype integer 必须 品牌展示类型 format: int32
├─ brand_initial string 必须 品牌首字母
├─ brand_name string 必须 品牌名称
├─ brand_pic string 必须 品牌图片
├─ sort integer 必须 品牌排序 format: int32
├─ brand_recommend integer 必须 品牌推荐,0为否,1为是 format: int32
├─ brand_id string 非必须

优特云