优特云
[ { "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.08.00
评价服务(evaluate)-评价管理

伟 最后一次编辑

3 年多前 28

评价服务(evaluate)-评价管理

添加店铺评价

基本信息

Path: /evaluate/evaluategoods/submitStoreEvaluate

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
seval_scores integer 必须 店铺评分 format: int32
geval_orderid string 必须 订单ID
app_id string 必须 应用ID

返回数据

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

添加商品评价

基本信息

Path: /evaluate/evaluategoods/submitGoodsEvaluate

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
app_id string 必须 应用ID
geval_goods object [] 必须 评价商品数组 item 类型: object
├─ evaluate_tags string [] 非必须 评价标签数组 item 类型: string
├─ 非必须
├─ geval_scores integer 必须 商品评分 format: int32
├─ geval_isanonymous integer 必须 是否匿名评价,0实名1匿名 format: int32
├─ geval_content string 非必须 评价内容
├─ geval_image string [] 非必须 晒单图片数组 item 类型: string
├─ 非必须
├─ geval_ordergoodsid string 必须 订单商品ID

返回数据

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

添加商品评价和店铺评价

基本信息

Path: /evaluate/evaluategoods/submitEvaluate

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
seval_scores integer 必须 店铺评分 format: int32
app_id string 必须 应用ID
geval_goods object [] 必须 评价商品数组 item 类型: object
├─ evaluate_tags string [] 非必须 评价标签数组 item 类型: string
├─ 非必须
├─ geval_scores integer 必须 商品评分 format: int32
├─ geval_isanonymous integer 必须 是否匿名评价,0实名1匿名 format: int32
├─ geval_content string 非必须 评价内容
├─ geval_image string [] 非必须 晒单图片数组 item 类型: string
├─ 非必须
├─ geval_ordergoodsid string 必须 订单商品ID

返回数据

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

新增评论标签

基本信息

Path: /evaluate/tag/add

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
goods_id string 必须 关联的商品id
tag_names string [] 必须 标签名称 字符串数组,标签名不要重复 item 类型: string
├─ 非必须

返回数据

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

批量删除评论标签

基本信息

Path: /evaluate/tag/deleteb

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
tag_ids string [] 必须 评论标签ids item 类型: string
├─ 非必须
goods_id string 必须 商品id

返回数据

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

删除评论标签

基本信息

Path: /evaluate/tag/delete

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
tag_id string 必须 标签id

返回数据

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

商家回复或修改回复

基本信息

Path: /evaluate/evaluate/reply

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
evaluate_id string 必须 评论id
reply string 非必须 回复内容

返回数据

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

优特云