Authored by chenchao

change page

@@ -42,7 +42,8 @@ @@ -42,7 +42,8 @@
42 ``` json 42 ``` json
43 { 43 {
44 "code": 200, 44 "code": 200,
45 - "data": [ 45 + "data":{
  46 + "list" :[
46 { 47 {
47 "colorCode": "FFFFFF", 48 "colorCode": "FFFFFF",
48 "colorName": "白色", 49 "colorName": "白色",
@@ -121,7 +122,11 @@ @@ -121,7 +122,11 @@
121 "colorValue": "http://img02.static.yohobuy.com/adpic/2014/01/27/13/0272608508f09e2bf7eb5543bf5cc70d31.png", 122 "colorValue": "http://img02.static.yohobuy.com/adpic/2014/01/27/13/0272608508f09e2bf7eb5543bf5cc70d31.png",
122 "id": 15 123 "id": 15
123 } 124 }
124 - ], 125 + ]
  126 + "page": 0,-第几页
  127 + "size": 0,-单页记录数
  128 + "total": 437,--总数
  129 + "totalPage": 1--总页数},
125 "md5": "a05b6b224e8d517720865f0060b484ad", 130 "md5": "a05b6b224e8d517720865f0060b484ad",
126 "message": "success" 131 "message": "success"
127 } 132 }