|
@@ -66,7 +66,10 @@ function finishCharge(c202Packet){
|
|
|
}
|
|
|
|
|
|
function refund(id){
|
|
|
- return request.post(constant.chargingServerUrl + "/chargingRecord/refund/" + id);
|
|
|
+ var formData = new FormData();
|
|
|
+ formData.append("id", id);
|
|
|
+
|
|
|
+ return request.post(constant.chargingServerUrl + "/chargingRecord/refund",formData);
|
|
|
}
|
|
|
|
|
|
export default {
|