优特云
[ { "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": [] } ] } ]
V1.00.00
商品服务(goods)-商品ES管理

伟 最后一次编辑

3 年多前 26

商品服务(goods)-商品分类ES管理

同步全部商品分类数据到ES

基本信息

Path: /goods/goodsclasses/saveAll

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json

返回数据

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

同步某个商品分类到ES

基本信息

Path: /goods/goodsclasses/save

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 分类ID
app_id string 非必须 应用ID

返回数据

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

删除全部ES商品分类

基本信息

Path: /goods/goodsclasses/deleteAll

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json

返回数据

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

删除某个ES商品分类

基本信息

Path: /goods/goodsclasses/delete

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 分类ID
app_id string 非必须 应用ID

返回数据

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

根据商品id查询某个ES商品分类

基本信息

Path: /goods/goodsclasses/find

Method: GET

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Query
参数名称 是否必须 示例 备注
appId
id 商品分类id
Body
名称 类型 是否必须 默认值 备注 其他信息
string 非必须 format: binary

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ gc_show integer 必须 商品分类前台显示 0:否 1:是 format: int32
├─ gc_sort integer 必须 商品分类排序 format: int32
├─ goodsclass_id string 必须 商品分类id
├─ gc_type_id string 非必须
├─ level integer 必须 树型结构层级,使用数字表示 format: int32
├─ gc_full_path string 必须 分类完整路径
├─ gc_app_id string 非必须
├─ gc_status integer 必须 商品分类状态 format: int32
├─ result string 必须 审核结果
├─ gc_name string 必须 分类名
├─ gc_virtual integer 必须 是否允许发布虚拟商品 1:是 0:否 format: int32
├─ id string 必须 商品分类ESid
├─ gc_parent_id string 必须 父分类id

优特云