From 0a20f349bffa7a7d7e0af246013473d2f72c4a6f Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期六, 12 四月 2025 18:12:36 +0800
Subject: [PATCH] 修改bug

---
 DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/api/OrderController.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/api/OrderController.java b/DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/api/OrderController.java
index 3cfd671..80ef095 100644
--- a/DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/api/OrderController.java
+++ b/DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/api/OrderController.java
@@ -478,7 +478,7 @@
             return orderService.confirmFees(language, orderId, orderType, type, travelFee, parkingFee, crossingFee, uid);
         }catch (Exception e){
             e.printStackTrace();
-            return ResultUtil.runErr();
+            return ResultUtil.runErr(null, e.getMessage());
         }
     }
 
@@ -711,7 +711,7 @@
             return ResultUtil.success(MoneyInfoWarpper.getMoneyInfoWarpper(map));
         }catch (Exception e){
             e.printStackTrace();
-            return ResultUtil.runErr();
+            return ResultUtil.runErr(null, e.getMessage());
         }
     }
 
@@ -995,7 +995,7 @@
                             try {
                                 Thread.sleep(3000L);
                             } catch (InterruptedException e) {
-                                throw new RuntimeException(e);
+                                e.printStackTrace();
                             }
                         }
                     }else{
@@ -1017,7 +1017,7 @@
                             try {
                                 Thread.sleep(3000L);
                             } catch (InterruptedException e) {
-                                throw new RuntimeException(e);
+                                e.printStackTrace();
                             }
                         }
                     }else{
@@ -1050,7 +1050,7 @@
                             try {
                                 Thread.sleep(3000L);
                             } catch (InterruptedException e) {
-                                throw new RuntimeException(e);
+                                e.printStackTrace();
                             }
                         }
                     }else{
@@ -1072,7 +1072,7 @@
                             try {
                                 Thread.sleep(3000L);
                             } catch (InterruptedException e) {
-                                throw new RuntimeException(e);
+                                e.printStackTrace();
                             }
                         }
                     }else{

--
Gitblit v1.7.1