xiaodian.cpsdata.live.getExplainComments

  • 免费
  • 需要授权
  • 结果不加密
查询商品评论接口

公共参数

名称 类型 必选 描述
app_key Long 接入时申请的app_key
method String 接口名称
access_token String Oauth2.0授权获得的access_token
sign String 对 API 调用参数(除sign外)进行 md5 加密获得。参数的顺序为字母表的顺序
timestamp Long 时间戳,使用Unix时间戳格式
format String 响应格式。默认为json格式,固定
sign_method String 参数的加密方法选择,当前只支持Md5
version String API协议版本,固定值为:1.0

输入参数

名称 类型 必选 描述 示例值
tradeItemId
String 商品idurl

返回参数

名称 类型 描述 默认值
status
Object 接口返回状态信息
code
String 0000000
msg
String 正常
result
Object 返回值
data
Object
comments
Object[] 评论列表
comments_object
Object
buyUserName
String 购买用户名 F*x
comment
String 评论 好看
avatar
String 用户头像 https://s11.mogucdn.com/mlcdn/c45406/200815_4k9l29le27i8lkb88b2lkc0gka6ha_400x400.jpg
success
Boolean 是否成功 true

请求参数示例

1).
{"tradeItemId":"1m87iri"}

返回示例

1).
{ "status": { "code": "0000000", "msg": "正常" }, "result": { "data": { "comments": [ { "buyUserName": "F*x", "comment": "好看", "avatar": "https://s11.mogucdn.com/mlcdn/c45406/200815_4k9l29le27i8lkb88b2lkc0gka6ha_400x400.jpg" }, { "buyUserName": "q*8", "comment": "好看,喜欢", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/180328_4ga752c49373kl2d9lclfg7l1f327_400x400.jpg" }, { "buyUserName": "帅*雯", "comment": "买第三次了 感觉很奈斯", "avatar": "https://s11.mogucdn.com/mlcdn/c45406/190802_2gf507ljhhlh2cbgbe7j2khe26141_400x400.jpg" }, { "buyUserName": "帅*雯", "comment": "第二次购买了 鞋子很棒 之前穿别的鞋子脚后跟磨起来泡了穿这个鞋子走了一天泡还没破 这点很奈斯", "avatar": "https://s11.mogucdn.com/mlcdn/c45406/190802_2gf507ljhhlh2cbgbe7j2khe26141_400x400.jpg" }, { "buyUserName": "超*电", "comment": "鞋子还不错,女儿比较喜欢", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/200809_18cg1fibj813288l5fkhhdl2ee3c1_132x132.jpg" }, { "buyUserName": "q*8", "comment": "超级棒,太喜欢了", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/180328_4ga752c49373kl2d9lclfg7l1f327_400x400.jpg" }, { "buyUserName": "胸*精", "comment": "刚收到,就迫不及待的试了,好喜欢~购买前看了评论还犹豫来着,看来大家各有各的想法,我是非常满意~物流也很快奥没让我等很久~配个图给大家参考~", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/180619_86816e41c8b3hb1k7dj772f06dld5_132x132.jpg" }, { "buyUserName": "江*o", "comment": "好看!", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/180924_03dhcl8ki3bai30di8772946f4390_400x400.jpg" }, { "buyUserName": "w*y", "comment": "好喜欢,是我想要的", "avatar": "https://s11.mogucdn.com/mlcdn/c45406/200529_54hjkh0820j1l7i2hcgci836kb76j_400x400.jpg" }, { "buyUserName": "史*女", "comment": "吼吼吼", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/171219_6gj08f349jhk19ehkjka622ha4c9f_100x100.jpg" }, { "buyUserName": "因*人", "comment": "太好看了 上脚也刚刚合适", "avatar": "https://s11.mogucdn.com/b7/avatar/150331/efe8r_iezwembwhe2dknjugazdambqgyyde_400x400.jpg" }, { "buyUserName": "小*6", "comment": "与其他相比,这款更漂亮美观,合脚,舒适,物有所值吧", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/181023_7il1lc9ehbii38h548k69gf60d4j5_200x200.jpg" }, { "buyUserName": "风*椒", "comment": "有点大,垫了一双鞋垫和半鞋垫都还大!鞋子倒是蛮喜欢的,就是码数有点大了!", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/190619_6i42lagfdbf9jc027d3kb558ac0e1_400x400.jpg" }, { "buyUserName": "破*7", "comment": "穿着也挺舒服的,挺好看的", "avatar": "https://s11.mogucdn.com/mlcdn/c45406/190722_06j7a4gack9bk1l9115g0die5f892_400x400.jpg" }, { "buyUserName": "王*5", "comment": "非常满意,穿上漂亮,好评!", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/181005_50bcghhfc9djei5gjeiff7f3filcd_200x200.jpg" }, { "buyUserName": "h*8", "comment": "款式漂亮,穿着舒服,很喜欢的。", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/181005_65kcccd0i7d22ag567giejc482442_200x200.jpg" }, { "buyUserName": "周*3", "comment": "最满意的一次购物,鞋子很好,穿着特别舒服", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/180925_1ik94kj4935587d0hf6hhec963i32_200x200.jpg" }, { "buyUserName": "一*猪", "comment": "质量特别好,穿着特别舒服,很合脚,也不会累", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/180916_4c5b6313f1j5i8e6jkj6bchf592ci_200x200.jpg" }, { "buyUserName": "S*g", "comment": "我觉得可以", "avatar": "https://s11.mogucdn.com/b7/avatar/150304/14lpiw_iezdqn3dmm3tmolcmyytambqmmyde_136x137.jpg" }, { "buyUserName": "c*4", "comment": "鞋子不错,大小合适,穿着舒服", "avatar": "https://s11.mogucdn.com/mlcdn/5abf39/180924_5983a37lgkhe1d6c0i87ef4ei3ka6_200x200.jpg" } ] } }, "success": true }

异常示例