| 11 | | > 获取爆料分类 |
| 12 | | |
| 13 | | > 使用场景:根据分类等级或父分类id查找所属的分类,一般用于首页或页面头部 |
| 14 | | |
| 15 | | **提交方式** |
| 16 | | |
| 17 | | > GET |
| 18 | | |
| 19 | | **是否需要登录** |
| 20 | | |
| 21 | | > false |
| 22 | | |
| 23 | | **缓存方式** |
| 24 | | |
| 25 | | > 接口缓存 |
| 26 | | |
| 27 | | **缓存时间** |
| 28 | | |
| 29 | | > 300秒 |
| 30 | | |
| 31 | | **参数** |
| 32 | | |
| 33 | | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| 34 | | ||level||1 一级分类 2 二级分类||int||0||否|| |
| 35 | | ||parentId||上级分类id||int||0||否|| |
| 36 | | |
| 37 | | **返回** |
| 38 | | {{{#!java |
| 39 | | result { |
| | 11 | > 生成订单 |
| | 12 | |
| | 13 | > 使用场景:根据商品outerId和用户id生成订单 |
| | 14 | |
| | 15 | **提交方式** |
| | 16 | |
| | 17 | > post |
| | 18 | |
| | 19 | **是否需要登录** |
| | 20 | |
| | 21 | > true |
| | 22 | |
| | 23 | **缓存方式** |
| | 24 | |
| | 25 | > 无 |
| | 26 | |
| | 27 | **缓存时间** |
| | 28 | |
| | 29 | > 无 |
| | 30 | |
| | 31 | **参数** |
| | 32 | |
| | 33 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 34 | ||outerId||商品outerId||string||""||是|| |
| | 35 | ||common_session_id||-||string||""||是|| |
| | 36 | |
| | 37 | **返回** |
| | 38 | {{{#!java |
| | 39 | result { |
| | 40 | status: 1, |
| | 41 | msg: '请求成功', |
| | 42 | data: { |
| | 43 | orderId: 123456//订单id |
| | 44 | } |
| | 45 | } |
| | 46 | }}} |
| | 47 | |
| | 48 | [http://trac.pc.com.cn/pc_best/wiki/app2.0/object_properties#爆料类型 $topicType] |
| | 49 | |
| | 50 | |
| | 51 | |
| | 52 | |
| | 53 | |
| | 54 | |
| | 55 | |
| | 56 | == 取消订单 == |
| | 57 | |
| | 58 | > 线上:[http://best.pconline.com.cn/app/topicType/cache/listIndexTopicType.do?limit=15 /app/topicType/cache/listIndexTopicType.do] |
| | 59 | |
| | 60 | **说明** |
| | 61 | |
| | 62 | > 取消用户某个订单 |
| | 63 | |
| | 64 | > 使用场景:用户下单后取消订单 |
| | 65 | |
| | 66 | **提交方式** |
| | 67 | |
| | 68 | > post |
| | 69 | |
| | 70 | **是否需要登录** |
| | 71 | |
| | 72 | > true |
| | 73 | |
| | 74 | **缓存方式** |
| | 75 | |
| | 76 | > 无 |
| | 77 | |
| | 78 | **缓存时间** |
| | 79 | |
| | 80 | > 无 |
| | 81 | |
| | 82 | **参数** |
| | 83 | |
| | 84 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 85 | ||orderId||订单id||int||0||是|| |
| | 86 | ||common_session_id||-||string||""||是|| |
| | 87 | |
| | 88 | |
| | 89 | **返回** |
| | 90 | {{{#!java |
| | 91 | result { |
| | 92 | status: 1, |
| | 93 | msg: '请求成功', |
| | 94 | data: { |
| | 95 | orderId:123456 //取消订单的id |
| | 96 | } |
| | 97 | } |
| | 98 | }}} |
| | 99 | |
| | 100 | [http://trac.pc.com.cn/pc_best/wiki/app2.0/object_properties#爆料类型 $topicType] |
| | 101 | |
| | 102 | |
| | 103 | |
| | 104 | |
| | 105 | |
| | 106 | |
| | 107 | |
| | 108 | == 确认收货 == |
| | 109 | |
| | 110 | > 线上:[http://best.pconline.com.cn/app/topicType/cache/listIndexTopicType.do?limit=15 /app/topicType/cache/listIndexTopicType.do] |
| | 111 | |
| | 112 | **说明** |
| | 113 | |
| | 114 | > 将订单状态改为已收货 |
| | 115 | |
| | 116 | > 使用场景:用户收到该订单的商品将订单改为已收货 |
| | 117 | |
| | 118 | **提交方式** |
| | 119 | |
| | 120 | > post |
| | 121 | |
| | 122 | **是否需要登录** |
| | 123 | |
| | 124 | > true |
| | 125 | |
| | 126 | **缓存方式** |
| | 127 | |
| | 128 | > 无 |
| | 129 | |
| | 130 | **缓存时间** |
| | 131 | |
| | 132 | > 无 |
| | 133 | |
| | 134 | **参数** |
| | 135 | |
| | 136 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 137 | ||orderId||订单id||int||0||是|| |
| | 138 | ||common_session_id||-||string||""||是|| |
| | 139 | |
| | 140 | |
| | 141 | **返回** |
| | 142 | {{{#!java |
| | 143 | result { |
| | 144 | status: 1, |
| | 145 | msg: '请求成功', |
| | 146 | data: { |
| | 147 | orderId:123456 //修改的订单id |
| | 148 | } |
| | 149 | } |
| | 150 | }}} |
| | 151 | |
| | 152 | [http://trac.pc.com.cn/pc_best/wiki/app2.0/object_properties#爆料类型 $topicType] |
| | 153 | |
| | 154 | |
| | 155 | |
| | 156 | |
| | 157 | |
| | 158 | |
| | 159 | |
| | 160 | == 用户订单列表 == |
| | 161 | |
| | 162 | > 线上:[http://best.pconline.com.cn/app/topicType/cache/listIndexTopicType.do?limit=15 /app/topicType/cache/listIndexTopicType.do] |
| | 163 | |
| | 164 | **说明** |
| | 165 | |
| | 166 | > 登陆用户的订单列表 |
| | 167 | |
| | 168 | **提交方式** |
| | 169 | |
| | 170 | > post |
| | 171 | |
| | 172 | **是否需要登录** |
| | 173 | |
| | 174 | > true |
| | 175 | |
| | 176 | **缓存方式** |
| | 177 | |
| | 178 | > 无 |
| | 179 | |
| | 180 | **缓存时间** |
| | 181 | |
| | 182 | > 无 |
| | 183 | |
| | 184 | **参数** |
| | 185 | |
| | 186 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 187 | ||pageNo||第几页||int||1||是|| |
| | 188 | ||pageSize||一页的数据量||int||10||是|| |
| | 189 | ||common_session_id||-||string||""||是|| |
| | 190 | |
| | 191 | |
| | 192 | **返回** |
| | 193 | {{{#!java |
| | 194 | result { |
| | 195 | status: 1, |
| | 196 | msg: '请求成功', |
| | 197 | pageNo: 1, |
| | 198 | pageSize: 10, |
| 41 | | msg: '请求成功', |
| 42 | | data: [ |
| 43 | | $topicType |
| 44 | | ] |
| 45 | | } |
| 46 | | }}} |
| 47 | | |
| 48 | | [http://trac.pc.com.cn/pc_best/wiki/app2.0/object_properties#爆料类型 $topicType] |
| 49 | | |
| 50 | | |
| 51 | | |
| 52 | | |
| 53 | | |
| 54 | | |
| 55 | | |
| 56 | | == 获取与PC分类排序一致的一级分类 == |
| 57 | | |
| 58 | | > 线上:[http://best.pconline.com.cn/app/topicType/cache/listIndexTopicType.do?limit=15 /app/topicType/cache/listIndexTopicType.do] |
| 59 | | |
| 60 | | **说明** |
| 61 | | |
| 62 | | > 获取与PC端首页排序一致的一级分类列表 |
| 63 | | |
| 64 | | > 使用场景:app查询与PC分类排序一致的一级分类 |
| 65 | | |
| 66 | | **提交方式** |
| 67 | | |
| 68 | | > GET |
| 69 | | |
| 70 | | **是否需要登录** |
| 71 | | |
| 72 | | > false |
| 73 | | |
| 74 | | **缓存方式** |
| 75 | | |
| 76 | | > 接口缓存 |
| 77 | | |
| 78 | | **缓存时间** |
| 79 | | |
| 80 | | > 300秒 |
| 81 | | |
| 82 | | **参数** |
| 83 | | |
| 84 | | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| 85 | | ||limit|| 限制查询分类个数 ||int||15||否|| |
| 86 | | |
| 87 | | |
| 88 | | **返回** |
| 89 | | {{{#!java |
| 90 | | result { |
| 91 | | total: 20, |
| 92 | | msg: '请求成功', |
| 93 | | data: [ |
| 94 | | $topicType |
| 95 | | ] |
| 96 | | } |
| 97 | | }}} |
| 98 | | |
| 99 | | [http://trac.pc.com.cn/pc_best/wiki/app2.0/object_properties#爆料类型 $topicType] |
| 100 | | |
| 101 | | |
| | 200 | pageTotal: 2, |
| | 201 | data: [ |
| | 202 | $receiveComment |
| | 203 | ] |
| | 204 | } |
| | 205 | }}} |
| | 206 | |
| | 207 | [http://trac.pc.com.cn/pc_best/wiki/app2.0/object_properties#爆料类型 $topicType] |
| | 208 | |
| | 209 | |
| | 210 | |
| | 211 | |
| | 212 | |
| | 213 | |
| | 214 | |
| | 215 | |
| | 216 | == 获取待付款订单剩余支付时间 == |
| | 217 | |
| | 218 | > 线上:[http://best.pconline.com.cn/app/topicType/cache/listIndexTopicType.do?limit=15 /app/topicType/cache/listIndexTopicType.do] |
| | 219 | |
| | 220 | **提交方式** |
| | 221 | |
| | 222 | > post |
| | 223 | |
| | 224 | **是否需要登录** |
| | 225 | |
| | 226 | > true |
| | 227 | |
| | 228 | **缓存方式** |
| | 229 | |
| | 230 | > 无 |
| | 231 | |
| | 232 | **缓存时间** |
| | 233 | |
| | 234 | > 无 |
| | 235 | |
| | 236 | **参数** |
| | 237 | |
| | 238 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 239 | ||orderId||订单id||int||0||是|| |
| | 240 | ||common_session_id||-||string||""||是|| |
| | 241 | |
| | 242 | |
| | 243 | **返回** |
| | 244 | {{{#!java |
| | 245 | result { |
| | 246 | status: 1, |
| | 247 | msg: '请求成功', |
| | 248 | data: { |
| | 249 | pastDate: 2015-11-11 11:11:11, //付款过期时间 |
| | 250 | serviceDate: 2015-11-11 11:11:10, //服务器时间 |
| | 251 | orderId: 123456 |
| | 252 | } |
| | 253 | } |
| | 254 | }}} |
| | 255 | |
| | 256 | [http://trac.pc.com.cn/pc_best/wiki/app2.0/object_properties#爆料类型 $topicType] |
| | 257 | |
| | 258 | |