前端-胡立永 1 week ago
parent
commit
d40bd01da8
8 changed files with 19764 additions and 12 deletions
  1. +31
    -4
      jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/pom.xml
  2. +28
    -0
      jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/healthApi/HealthManagerController.java
  3. +1
    -0
      jeecg-boot/jeecg-boot-module/pom.xml
  4. +1
    -1
      jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/healthApi/controller/SystemApiController.java
  5. +14
    -1
      jeecg-boot/jeecg-module-system/jeecg-system-start/pom.xml
  6. +6
    -6
      jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml
  7. +6
    -0
      jeecg-boot/pom.xml
  8. +19677
    -0
      jeecgboot-vue3/package-lock.json

+ 31
- 4
jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/pom.xml View File

@ -1,12 +1,39 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>jeecgboot-boot-applet</artifactId>
<parent>
<groupId>org.jeecgframework.boot</groupId>
<artifactId>jeecg-boot-module</artifactId>
<groupId>org.jeecgframework.boot</groupId>
<version>3.8.1</version>
</parent>
<artifactId>jeecgboot-boot-applet</artifactId>
<name>Archetype - jeecgboot-boot-applet</name>
<url>http://maven.apache.org</url>
<repositories>
<repository>
<id>aliyun</id>
<name>aliyun Repository</name>
<url>https://maven.aliyun.com/repository/public</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>jeecg</id>
<name>jeecg Repository</name>
<url>https://maven.jeecg.org/nexus/content/repositories/jeecg</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.jeecgframework.boot</groupId>
<artifactId>jeecg-boot-base-core</artifactId>
</dependency>
</dependencies>
</project>

+ 28
- 0
jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/healthApi/HealthManagerController.java View File

@ -0,0 +1,28 @@
package org.jeecg.modules.healthApi;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.api.vo.Result;
import org.jeecg.config.shiro.IgnoreAuth;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 健康管理小程序模块控制器
*
* @author jeecg
* @since 2024-01-01
*/
@RestController
@RequestMapping("/applet/health")
@Slf4j
public class HealthManagerController {
/**
* 健康检查接口
*/
@GetMapping("/health")
public Result<String> health() {
return Result.OK("健康管理小程序模块运行正常");
}
}

+ 1
- 0
jeecg-boot/jeecg-boot-module/pom.xml View File

@ -15,6 +15,7 @@
<modules>
<module>jeecg-module-demo</module>
<module>jeecg-boot-module-airag</module>
<module>jeecgboot-boot-applet</module>
</modules>

+ 1
- 1
jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/healthApi/controller/SystemApiController.java View File

@ -1,4 +1,4 @@
package org.jeecg.modules.api.controller;
package org.jeecg.modules.healthApi.controller;
import com.alibaba.fastjson.JSONObject;
import lombok.extern.slf4j.Slf4j;


+ 14
- 1
jeecg-boot/jeecg-module-system/jeecg-system-start/pom.xml View File

@ -24,7 +24,20 @@
<artifactId>jeecg-module-demo</artifactId>
<version>${jeecgboot.version}</version>
</dependency>
<!-- APPLET 小程序模块 -->
<dependency>
<groupId>org.jeecgframework.boot</groupId>
<artifactId>jeecgboot-boot-applet</artifactId>
<version>${jeecgboot.version}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.jeecgframework.boot</groupId>-->
<!-- <artifactId>jeecg-module-applet</artifactId>-->
<!-- <version>${jeecgboot.version}</version>-->
<!-- </dependency>-->
<!-- flyway 数据库自动升级 -->
<dependency>
<groupId>org.flywaydb</groupId>


+ 6
- 6
jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml View File

@ -149,9 +149,9 @@ spring:
slow-sql-millis: 5000
datasource:
master:
url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://114.132.67.58:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: 123456
password: GYt=tH$r
driver-class-name: com.mysql.cj.jdbc.Driver
# 多数据源配置
#multi-datasource1:
@ -161,10 +161,10 @@ spring:
#driver-class-name: com.mysql.cj.jdbc.Driver
#redis 配置
redis:
database: 0
host: 127.0.0.1
database: 1
host: 114.132.67.58
port: 6379
password: ''
password: 'GYt=tH$r'
#mybatis plus 设置
mybatis-plus:
mapper-locations: classpath*:org/jeecg/**/xml/*Mapper.xml
@ -189,7 +189,7 @@ jeecg:
ai-chat:
enabled: true
model: deepseek-chat
apiKey: ??
apiKey: sk-6c74636519e441a6aaa0645abcf21af5
apiHost: https://api.deepseek.com/v1
timeout: 60
# AIRag向量库


+ 6
- 0
jeecg-boot/pom.xml View File

@ -193,6 +193,12 @@
<artifactId>jeecg-boot-base-core</artifactId>
<version>${jeecgboot.version}</version>
</dependency>
<!-- applet 小程序模块 -->
<dependency>
<groupId>org.jeecgframework.boot</groupId>
<artifactId>jeecgboot-boot-applet</artifactId>
<version>${jeecgboot.version}</version>
</dependency>
<!-- system 单体 api -->
<dependency>
<groupId>org.jeecgframework.boot</groupId>


+ 19677
- 0
jeecgboot-vue3/package-lock.json
File diff suppressed because it is too large
View File


Loading…
Cancel
Save