|
@@ -1,5 +1,6 @@
|
|
|
package com.tuigai.tuigai_tongcheng_api.controller;
|
|
|
|
|
|
+import cn.hutool.core.codec.Base64;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.tuigai.tuigai_tongcheng_api.dto.RestMessage;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
@@ -16,14 +17,16 @@ public class OrderController {
|
|
|
|
|
|
@PostMapping("/saveChangeOrder")
|
|
|
public RestMessage saveChangeOrder(@RequestBody JSONObject jsonObject) {
|
|
|
- log.info("改签订单:" + jsonObject.toJSONString());
|
|
|
+ String decodeStr = Base64.decodeStr(jsonObject.getString("data"));
|
|
|
+ log.info("改签订单:" + decodeStr);
|
|
|
return RestMessage.result("ok");
|
|
|
}
|
|
|
|
|
|
|
|
|
@PostMapping("/saveRefundOrder")
|
|
|
public RestMessage saveRefundOrder(@RequestBody JSONObject jsonObject) {
|
|
|
- log.info("退票订单:" + jsonObject.toJSONString());
|
|
|
+ String decodeStr = Base64.decodeStr(jsonObject.getString("data"));
|
|
|
+ log.info("退票订单:" + decodeStr);
|
|
|
return RestMessage.result("ok");
|
|
|
}
|
|
|
|