Authored by mlge

种草--晒单相关接口

  1 +1、晒单列表页
  2 +app.grass.getOrderShareList
  3 +
  4 +int udid;
  5 +int page ;
  6 +int limit ;
  7 +
  8 +
  9 +### 响应
  10 +code为200即为成功,否则是失败。
  11 +{
  12 + "alg": "SALT_MD5",
  13 + "code": 200,
  14 + "data": {
  15 +
  16 + "list": [
  17 + {
  18 + "commentId": 63876,
  19 + "content": "晒单评论内容",
  20 + "headIcon": "",
  21 + "imageUrl": "/2018/08/13/13/02d560683bf79ccb149a5a98c19f606aa0.jpg",
  22 + "isPraise": "N",
  23 + "nickName": "",
  24 + "praiseCount": 0,
  25 + "shareOrderId": "3538",
  26 + "uid": 500031632
  27 + },
  28 + {
  29 + "commentId": 63820,
  30 + "headIcon": "",
  31 + "imageUrl": "",
  32 + "isPraise": "N",
  33 + "nickName": "",
  34 + "praiseCount": 0,
  35 + "shareOrderId": "3482",
  36 + "uid": 6513277
  37 + },
  38 + ......
  39 + ],
  40 +
  41 +
  42 + }
  43 +
  44 + "md5": "ab23ca1c16260cb2de642071b0966f8b",
  45 + "message": "操作成功"
  46 +}
  47 +
  48 +
  49 +2、晒单详情页
  50 +
  51 +app.grass.userFavouriteArticleDetail
  52 +
  53 +int limit ;
  54 +int udid;
  55 +int articleId;--文章id
  56 +String direction ;--向上向下翻页 "next",“pre”
  57 +String fromListPage = "Y";--从列表页点进来的 N--从详情页向下或者向上翻页
  58 +
  59 +### 响应
  60 +code为200即为成功,否则是失败。
  61 +{
  62 + "alg": "SALT_MD5",
  63 + "code": 200,
  64 + "data": {
  65 +
  66 + "list": [
  67 + {
  68 + "commentId": 63760,
  69 + "content": "gggg",
  70 + "headIcon": "",
  71 + "imageCount": 0,
  72 + "isPraise": "N",
  73 + "nickName": "",
  74 + "praiseCount": 3,
  75 + "shareOrderId": "3422",
  76 + "uid": 8050302
  77 + },
  78 + {
  79 + "commentId": 63480,
  80 + "content": "晒单评论内容",
  81 + "headIcon": "",
  82 + "imageCount": 1,//图片总数
  83 + "imageUrlList": [//图片urllist
  84 + "/2017/06/12/14/02910c5afd3e927ad29fc84cc268951691.jpg"
  85 + ],
  86 + "isPraise": "N",
  87 + "nickName": "",
  88 + "praiseCount": 12,
  89 + "shareOrderId": "3142",
  90 + "uid": 8050620,
  91 + "relatedProductList":[//关联的商品信息
  92 + {"productId":"productId",
  93 + "erpSkuId":"erpSkuId",
  94 + "productName":"productName",
  95 + "imageUrl":"imageUrl",
  96 + "price":"price"
  97 + },{"productId":"productId",
  98 + "erpSkuId":"erpSkuId",
  99 + "productName":"productName",
  100 + "imageUrl":"imageUrl",
  101 + "price":"price"
  102 + }
  103 + ....
  104 + ]
  105 +
  106 + }
  107 + ......
  108 + ],
  109 +
  110 +
  111 + }
  112 +
  113 + "md5": "ab23ca1c16260cb2de642071b0966f8b",
  114 + "message": "操作成功"
  115 +}