闪付订单模块接口

1:查看详情#

1:订单查看详情
localhost:8888/order-flash/view?orderId=da63173c4a5b42a2b5a9ec9f0c0ed5b4&access_token=viI0suANg2egqlncbJmPeO5e01XK9m3V5C4sjBai

{
"msg": "操作成功",
"data": {
"ordOrder": {
"currencyType": "156",
"orderType": "9",
"orderNo": "LO20170217C00016",
"actualAmount": 0,
"channel": "weixin",
"updateTime": "2017-03-20 19:50:00",
"title": "闪付订单",
"userId": "db6154359a494c9aa5087bb63c3e1834",
"orderAmount": 0,
"createTime": "2017-02-17 16:30:48",
"doFlag": false,
"id": "da63173c4a5b42a2b5a9ec9f0c0ed5b4",
"payFlag": true
},
"ordOrderFlash": {
"amount": 0,
"orderNo": "LO20170217C00016",
"actualAmount": 0,
"shopName": "天祈楼",
"createTime": "2017-02-17 16:30:48",
"proId": "57",
"id": "55aecd3c6e914232b66536770cf64a84",
"shopId": "307510",
"flash": 0.8
}
},
"status": 200
}

2:新增闪付订单#

http://localhost:8888/order-flash/saveOrUpdate?access_token=CMedDYzxD35SDnMkw8mNkUsDS7VQl4LLWX2bPyxw
{"data":[
{
"order":{
"id":"deft",
"userId":"0001",
"orderNo":"LC2017",
"title":"闪付订单",
"createTime":"2017-09-09",
"updateTime":"2017-09-09"
},
"orderFlash":{
"id":"112233",
"proId":"1123",
"shopId":"shopid112333",
"shopName":"卖烤鸭",
"orderNo":"LC2017"
}
}
]
}

3:订单分页查询#

http://localhost:8888/order-flash/list?orderId=da63173c4a5b42a2b5a9ec9f0c0ed5b4&access_token=viI0suANg2egqlncbJmPeO5e01XK9m3V5C4sjBai

{
"msg": "操作成功",
"data": {
"total": 219,
"rows": [
{
"currencyType": "156",
"orderType": "9",
"orderNo": "LO20170216C00001",
"actualAmount": 100,
"channel": "weixin",
"updateTime": 1490010600000,
"title": "闪付订单",
"userId": "619e85ee91d341e49e76ba82c5716478",
"orderAmount": 100,
"createTime": 1487238535000,
"doFlag": false,
"id": "b602bb4d8cc2473ab31190c21017d243",
"payFlag": true
}
]
}
}

你可能感兴趣的:(闪付订单模块接口)