chore: 更新项目配置和依赖项

This commit is contained in:
Ray.Hao
2025-12-26 18:26:22 +08:00
parent 34171529ef
commit eca385a52b
7 changed files with 13 additions and 26 deletions

3
.gitignore vendored
View File

@@ -16,4 +16,5 @@ logs
docker/*/data/
docker/minio/config
docker/xxljob/logs
application-youlai.yml
application-youlai.yml
youlai_admin_template.sql

12
pom.xml
View File

@@ -59,7 +59,7 @@
<!-- 微信 jdk -->
<weixin-java.version>4.7.7.B</weixin-java.version>
<caffeine.version>2.9.3</caffeine.version>
<!-- 阿里 TransmittableThreadLocal (支持异步场景的ThreadLocal传递) -->
<transmittable-thread-local.version>2.14.5</transmittable-thread-local.version>
</properties>
@@ -278,11 +278,11 @@
</dependency>-->
<!-- Spring AI OpenAI兼容通义千问、DeepSeek等 -->
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
<version>1.0.0-M6</version>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-starter-model-openai</artifactId>
<version>1.1.2</version>
</dependency>
<dependency>
<groupId>com.dameng</groupId>

View File

@@ -208,7 +208,7 @@ INSERT INTO `sys_menu` VALUES (2806, 280, '0,1,280', '通知撤回', 'B', NULL,
INSERT INTO `sys_menu` VALUES (310, 2, '0,2', '代码生成', 'M', 'Codegen', 'codegen', 'codegen/index', NULL, NULL, 1, 1, 1, 'code', NULL, now(), now(), NULL);
-- AI 助手
INSERT INTO `sys_menu` VALUES (401, 3, '0,3', 'AI命令记录', 'M', 'AiCommandRecord', 'command-record', 'ai/command-record/index', NULL, NULL, 1, 1, 1, 'document', NULL, now(), now(), NULL);
INSERT INTO `sys_menu` VALUES (401, 3, '0,3', 'AI命令记录', 'M', 'ai', 'ai', 'ai/index', NULL, NULL, 1, 1, 1, 'document', NULL, now(), now(), NULL);
-- 平台文档(外链通过 route_path 识别)
INSERT INTO `sys_menu` VALUES (501, 4, '0,4', '平台文档(外链)', 'M', NULL, 'https://juejin.cn/post/7228990409909108793', '', NULL, NULL, NULL, 1, 1, 'document', '', now(), now(), NULL);

View File

@@ -1,14 +0,0 @@
package com.youlai.boot.security.model;
import lombok.Data;
/**
* 用户认证凭证信息
*
* @author Ray.Hao
* @since 2022/10/22
*/
@Data
public class UserAuthCredentials extends UserAuthInfo {
}

View File

@@ -15,8 +15,8 @@ import java.time.LocalDate;
/**
* 统计分析控制层
*
* @author haoxr
* @since 2024-12-15
* @author Ray.Hao
* @since 2025-12-15
*/
@Tag(name = "11.统计分析")
@RestController

View File

@@ -72,7 +72,7 @@ spring:
ai:
openai:
# API Key
api-key: ${DASHSCOPE_API_KEY:sk-c2941d05bf2f411ca80424fxxxxxxxx}
api-key: ${DASHSCOPE_API_KEY:sk-c2941d05bf2f411ca80424fcd1eb4e07}
# Base URL
base-url: https://dashscope.aliyuncs.com/compatible-mode

View File

@@ -2,6 +2,6 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.youlai.boot.platform.codegen.mapper.GenTableMapper">
<mapper namespace="com.youlai.boot.platform.codegen.mapper.GenConfigMapper">
</mapper>