From 23da057f35cea1ee061adc23ccb9b7511635133b Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 18 四月 2025 11:09:56 +0800
Subject: [PATCH] ai-chat模块

---
 dev-admin/src/main/resources/application-dev.yml |    9 +++++----
 ai-chat/pom.xml                                  |   27 +++++++++++++++++++++++++++
 dev-admin/pom.xml                                |    2 +-
 pom.xml                                          |    1 +
 4 files changed, 34 insertions(+), 5 deletions(-)

diff --git a/ai-chat/pom.xml b/ai-chat/pom.xml
new file mode 100644
index 0000000..49a028c
--- /dev/null
+++ b/ai-chat/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <parent>
+        <artifactId>fast-dev</artifactId>
+        <groupId>com.monkeylessey</groupId>
+        <version>0.0.1-SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+
+    <artifactId>ai-chat</artifactId>
+
+    <properties>
+        <maven.compiler.source>8</maven.compiler.source>
+        <maven.compiler.target>8</maven.compiler.target>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>com.monkeylessey</groupId>
+            <artifactId>dev-sys</artifactId>
+        </dependency>
+
+    </dependencies>
+
+</project>
diff --git a/dev-admin/pom.xml b/dev-admin/pom.xml
index 08236c7..b529203 100644
--- a/dev-admin/pom.xml
+++ b/dev-admin/pom.xml
@@ -20,7 +20,7 @@
     <dependencies>
         <dependency>
             <groupId>com.monkeylessey</groupId>
-            <artifactId>dev-sys</artifactId>
+            <artifactId>ai-chat</artifactId>
         </dependency>
 
     </dependencies>
diff --git a/dev-admin/src/main/resources/application-dev.yml b/dev-admin/src/main/resources/application-dev.yml
index c00393f..e606970 100644
--- a/dev-admin/src/main/resources/application-dev.yml
+++ b/dev-admin/src/main/resources/application-dev.yml
@@ -1,13 +1,14 @@
 spring:
   redis:
-    host: 127.0.0.1
+    host: 42.193.1.25
     port: 6379
-    database: 1
+    database: 10
+    password: ycl2018
   datasource:
     username: root
-    password: 123456
+    password: 321$YcYl@1970!
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://localhost:3306/start?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT%2B8
+    url: jdbc:mysql://42.193.1.25:3306/ai-chat?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT%2B8
   # rabbitmq
   rabbitmq:
     host: localhost
diff --git a/pom.xml b/pom.xml
index d107efb..a13f860 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,6 +7,7 @@
         <module>dev-admin</module>
         <module>dev-common</module>
         <module>dev-sys</module>
+        <module>ai-chat</module>
     </modules>
     <parent>
         <groupId>org.springframework.boot</groupId>

--
Gitblit v1.8.0