From d6a127f4da8a9662e77364be002054870a5fcc4b Mon Sep 17 00:00:00 2001
From: kongdeqiang <kongdeqiang960204@163.com>
Date: 星期四, 02 十一月 2023 11:35:39 +0800
Subject: [PATCH] 提交更新

---
 src/main/java/com/boying/controller/phone/YCPayController.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/boying/controller/phone/YCPayController.java b/src/main/java/com/boying/controller/phone/YCPayController.java
index 8aa3c39..51b5ee0 100644
--- a/src/main/java/com/boying/controller/phone/YCPayController.java
+++ b/src/main/java/com/boying/controller/phone/YCPayController.java
@@ -16,6 +16,7 @@
 import com.boying.util.HTTPEntityUtil;
 import com.google.gson.Gson;
 import lombok.RequiredArgsConstructor;
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.ResponseEntity;
 import org.springframework.web.bind.annotation.*;
 
@@ -52,6 +53,7 @@
     private final OrderRecordService orderRecordService;
     private final TicketService ticketService;
     private final TicketBlackService ticketBlackService;
+
     private final SystemConfigProperties systemConfigProperties;
     private final WhiteListService whiteListService;
     private final EnterParkService enterParkService;
@@ -149,6 +151,7 @@
     public Object parkXT(Long id){
         SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd_HH:mm:ss");
         OutPark outPark =  outParkService.getById(id);
+        System.out.println("id:"+id);
         if(outPark.getPrice()==0){
             updateOutPark(outPark.getId(),"03");
             return R.failed("鏈鍋滆溅鏃犻渶鏀粯璐圭敤");
@@ -296,6 +299,7 @@
      */
     @PostMapping("payByWX")
     public Object payByWX(Long id,String openId){
+        System.out.println("寮�濮嬫敮浠�");
         OutPark outPark =  outParkService.getById(id);
         String xtyhpay = systemConfigProperties.getXTYHPAY();
         SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");

--
Gitblit v1.9.1