From 14c10d5021513463109aa800aeb3e8dbf479b05c Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期四, 28 八月 2025 10:58:11 +0800
Subject: [PATCH] update

---
 ruoyi-applet/src/main/java/com/ruoyi/web/controller/system/OrderController.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ruoyi-applet/src/main/java/com/ruoyi/web/controller/system/OrderController.java b/ruoyi-applet/src/main/java/com/ruoyi/web/controller/system/OrderController.java
index c89460c..d4704e9 100644
--- a/ruoyi-applet/src/main/java/com/ruoyi/web/controller/system/OrderController.java
+++ b/ruoyi-applet/src/main/java/com/ruoyi/web/controller/system/OrderController.java
@@ -10,6 +10,7 @@
 import com.ruoyi.common.core.domain.model.LoginUser;
 import com.ruoyi.common.utils.AliSmsUtil;
 import com.ruoyi.common.utils.StringUtils;
+import com.ruoyi.common.utils.VoiceNotifyMain;
 import com.ruoyi.framework.web.service.TokenService;
 import com.ruoyi.system.dto.AddBuyerCompanyInfoDto;
 import com.ruoyi.system.dto.AddScheduleDto;
@@ -193,7 +194,12 @@
         messageService.addMessage("买家申请了交易", company.getUserId(), orderId,1);
 
         TbUser user = userService.getById(company.getUserId());
-        AliSmsUtil.sendSuccessMessageSeller(user.getPhone());
+//        AliSmsUtil.sendSuccessMessageSeller(user.getPhone());
+        try {
+            VoiceNotifyMain.call(user.getPhone());
+        }catch (Exception e){
+            e.printStackTrace();
+        }
         return R.ok(orderId);
     }
 

--
Gitblit v1.7.1