diff --git a/hzims-service/hzims-big-model/pom.xml b/hzims-service/hzims-big-model/pom.xml
index e1ebe29..4075f1f 100644
--- a/hzims-service/hzims-big-model/pom.xml
+++ b/hzims-service/hzims-big-model/pom.xml
@@ -82,6 +82,7 @@
com.baomidou
dynamic-datasource-spring-boot-starter
+ 2.5.6
diff --git a/hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/utils/RequestClientUtil.java b/hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/utils/RequestClientUtil.java
index 229fc12..ef31b6d 100644
--- a/hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/utils/RequestClientUtil.java
+++ b/hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/utils/RequestClientUtil.java
@@ -25,9 +25,11 @@ public class RequestClientUtil {
* @param body 传参body
*/
public static void postCall(String url, Map body) {
+ log.info("开始远程调用{}接口",url);
HttpResponse response = HttpRequest.post(url).body(JSON.toJSONString(body)).execute();
+ log.info("远程调用{}接口结束",url);
Assert.isTrue(response.getStatus() == HttpServletResponse.SC_OK, () -> {
- throw new ServiceException("远程调用大模型接口" + url + "失败!");
+ throw new ServiceException("远程调用接口" + url + "失败!");
});
}
diff --git a/pom.xml b/pom.xml
index 31b5875..fee8f9d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -212,11 +212,6 @@
easypoi-spring-boot-starter
${easpoi.version}
-
- com.baomidou
- dynamic-datasource-spring-boot-starter
- 2.5.6
-