| | 378 | |
| | 379 | === 2.7 我的 === |
| | 380 | ==== 2.7.3. 我的-团购列表 ==== |
| | 381 | [[BR]]备注:以往是直接调用后端应用接口http://wxzs.pcauto.com.cn/interface/app/get_autobuyOrder.jsp来获取的,现在通过mrobot封装一层,以增加结构变更的灵活性。 |
| | 382 | [[BR]]mrobot接口 : http://mrobot.pcauto.com.cn/buy/groupon/getAutobuyOrder |
| | 383 | [[BR]]后端测试url : http://v12.pcauto.com.cn:8004/interface/app/get_autobuyOrder.jsp |
| | 384 | [[BR]]后端正式url :http://wxzs.pcauto.com.cn/interface/app/get_autobuyOrder.jsp |
| | 385 | [[BR]]参数描述: |
| | 386 | [[BR]]@param callback 回调函数名,选填 |
| | 387 | [[BR]]@param m 调用的方法,必填,取值=getOrderList : 获取我的团购报名列表 |
| | 388 | [[BR]]@param dId 设备ID,必填 |
| | 389 | [[BR]]@param bt 报名-起始时间, 选填 格式为:yyyy-MM-dd 例:2014-08-11 |
| | 390 | [[BR]]@param et 报名-结束时间, 选填 格式为:yyyy-MM-dd 例:2014-08-11 |
| | 391 | [[BR]]@param page 分页,当前页数, 选填 |
| | 392 | [[BR]]@param size 分页,页面长度, 选填 |
| | 393 | {{{ |
| | 394 | @return json 例: |
| | 395 | { |
| | 396 | "data": [ |
| | 397 | { |
| | 398 | "acId": 191, ##团购活动id |
| | 399 | "deadline": "2014-08-06", ##活动截至时间 |
| | 400 | "discount": 0.20, ##优惠 |
| | 401 | "discountPrice": 11.07, ##优惠价 |
| | 402 | "image": " http://img.pconline.com.cn/images/upload/upc/tx/auto5/1406/25/c5/35654388_1403678285814_350x260.jpg", ##图像 |
| | 403 | "orderCount": 3, ##报名人数 |
| | 404 | "sgId": 8670, ##车系id |
| | 405 | "sgName": "奥迪Q3", ##车系名 |
| | 406 | "title": "奥迪A4L 2013款 2.0 40TFSI quattro" ##活动标题 |
| | 407 | },{ |
| | 408 | ...其他团购信息 |
| | 409 | }] |
| | 410 | } |
| | 411 | }}} |