chore: 更新项目配置和依赖项
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -17,3 +17,4 @@ docker/*/data/
|
|||||||
docker/minio/config
|
docker/minio/config
|
||||||
docker/xxljob/logs
|
docker/xxljob/logs
|
||||||
application-youlai.yml
|
application-youlai.yml
|
||||||
|
youlai_admin_template.sql
|
||||||
10
pom.xml
10
pom.xml
@@ -278,11 +278,11 @@
|
|||||||
</dependency>-->
|
</dependency>-->
|
||||||
|
|
||||||
<!-- Spring AI OpenAI(兼容通义千问、DeepSeek等) -->
|
<!-- Spring AI OpenAI(兼容通义千问、DeepSeek等) -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.ai</groupId>
|
<groupId>org.springframework.ai</groupId>
|
||||||
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
|
<artifactId>spring-ai-starter-model-openai</artifactId>
|
||||||
<version>1.0.0-M6</version>
|
<version>1.1.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.dameng</groupId>
|
<groupId>com.dameng</groupId>
|
||||||
|
|||||||
@@ -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);
|
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 助手
|
-- 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 识别)
|
-- 平台文档(外链通过 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);
|
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);
|
||||||
|
|||||||
@@ -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 {
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -15,8 +15,8 @@ import java.time.LocalDate;
|
|||||||
/**
|
/**
|
||||||
* 统计分析控制层
|
* 统计分析控制层
|
||||||
*
|
*
|
||||||
* @author haoxr
|
* @author Ray.Hao
|
||||||
* @since 2024-12-15
|
* @since 2025-12-15
|
||||||
*/
|
*/
|
||||||
@Tag(name = "11.统计分析")
|
@Tag(name = "11.统计分析")
|
||||||
@RestController
|
@RestController
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ spring:
|
|||||||
ai:
|
ai:
|
||||||
openai:
|
openai:
|
||||||
# API Key
|
# API Key
|
||||||
api-key: ${DASHSCOPE_API_KEY:sk-c2941d05bf2f411ca80424fxxxxxxxx}
|
api-key: ${DASHSCOPE_API_KEY:sk-c2941d05bf2f411ca80424fcd1eb4e07}
|
||||||
|
|
||||||
# Base URL
|
# Base URL
|
||||||
base-url: https://dashscope.aliyuncs.com/compatible-mode
|
base-url: https://dashscope.aliyuncs.com/compatible-mode
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
<!DOCTYPE mapper
|
<!DOCTYPE mapper
|
||||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"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>
|
</mapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user