启动问题修复

This commit is contained in:
lizhengwei 2025-11-13 15:43:39 +08:00
parent 89b630e7fc
commit 4cc423ba1f
5 changed files with 82 additions and 82 deletions

View File

@ -1,14 +1,12 @@
package com.luban.api.dao.mongo;
package com.luban.api.mongo.dao;
import com.luban.api.entity.mongo.H5ProjectContent;
import com.luban.api.mongo.entity.H5ProjectContent;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
/**
* H5项目内容 Repository
*
* @author your-name
*/
@Repository
public interface H5ProjectContentRepository extends MongoRepository<H5ProjectContent, String> {
}

View File

@ -1,4 +1,4 @@
package com.luban.api.entity.mongo;
package com.luban.api.mongo.entity;
import lombok.Data;
import org.springframework.data.annotation.Id;

View File

@ -3,10 +3,10 @@ package com.luban.api.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.luban.api.dao.H5ProjectDao;
import com.luban.api.dao.H5ProjectGroupDao;
import com.luban.api.dao.mongo.H5ProjectContentRepository;
import com.luban.api.mongo.dao.H5ProjectContentRepository;
import com.luban.api.entity.H5Project;
import com.luban.api.entity.H5ProjectGroup;
import com.luban.api.entity.mongo.H5ProjectContent;
import com.luban.api.mongo.entity.H5ProjectContent;
import com.luban.api.service.H5ProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

View File

@ -8,13 +8,6 @@ spring:
# 注册组
group: DUBBO_GROUP
namespace: c5c00044-93e6-4e66-8060-3f39aa7ab82b
# 资源信息
messages:
# 国际化资源文件路径
basename: i18n/messages
servlet:
multipart:
max-file-size: 10MB
datasource:
type: com.zaxxer.hikari.HikariDataSource
# 动态数据源文档 https://www.kancloud.cn/tracy5546/dynamic-datasource/content
@ -67,7 +60,7 @@ spring:
# Redis服务器连接端口
port: 6379
# Redis服务器连接密码默认为空
password: Lzw8800580/
password: difyai123456
# 连接超时时间
timeout: 10s
lettuce:
@ -89,65 +82,11 @@ springdoc:
# swagger-ui:
# # 持久化认证数据
# persistAuthorization: true
info:
# 标题
title: '标题:${spring.application.name}多租户管理系统_接口文档'
# 描述
description: '描述:用于管理集团旗下公司的人员信息,具体包括XXX,XXX模块...'
# 版本
version: '版本号: 1.0.0'
# 作者信息
contact:
name: Lion Li
email: crazylionli@163.com
url: https://gitee.com/dromara/RuoYi-Vue-Plus
components:
# 鉴权方式配置
security-schemes:
apiKey:
type: APIKEY
in: HEADER
name: Authorization
#这里定义了两个分组,可定义多个,也可以不定义
group-configs:
- group: 1.演示模块
packages-to-scan: org.dromara.demo
- group: 2.通用模块
packages-to-scan: org.dromara.web
- group: 3.系统模块
packages-to-scan: org.dromara.system
- group: 4.代码生成模块
packages-to-scan: org.dromara.generator
# 多租户配置
tenant:
# 是否开启
enable: true
# 排除表
excludes:
- sys_menu
- sys_tenant
- sys_tenant_package
- sys_saas_user_role
# MyBatisPlus配置
# https://baomidou.com/config/
mybatis-plus:
# 多包名使用 例如 org.dromara.**.mapper,org.xxx.**.mapper
mapperPackage: com.luban.api.dao
# # 实体扫描多个package用逗号或者分号分隔
# typeAliasesPackage: com.luban.api.entity
global-config:
dbConfig:
# 主键类型
# AUTO 自增 NONE 空 INPUT 用户输入 ASSIGN_ID 雪花 ASSIGN_UUID 唯一 UUID
# 如需改为自增 需要将数据库表全部设置为自增
idType: ASSIGN_ID
# dubbo
dubbo:

View File

@ -1,6 +1,8 @@
# Tomcat
server:
port: 19200
servlet:
context-path: /h5
# Spring
spring:
@ -9,4 +11,65 @@ spring:
name: ruoyi-h5
profiles:
# 环境配置
active: @profiles.active@
active: local
# 资源信息
messages:
# 国际化资源文件路径
basename: i18n/messages
servlet:
multipart:
max-file-size: 10MB
springdoc:
info:
# 标题
title: '标题:${spring.application.name}多租户管理系统_接口文档'
# 描述
description: '描述:用于管理集团旗下公司的人员信息,具体包括XXX,XXX模块...'
# 版本
version: '版本号: 1.0.0'
# 作者信息
contact:
name: Lion Li
email: crazylionli@163.com
url: https://gitee.com/dromara/RuoYi-Vue-Plus
components:
# 鉴权方式配置
security-schemes:
apiKey:
type: APIKEY
in: HEADER
name: Authorization
#这里定义了两个分组,可定义多个,也可以不定义
group-configs:
- group: 1.演示模块
packages-to-scan: org.dromara.demo
- group: 2.通用模块
packages-to-scan: org.dromara.web
- group: 3.系统模块
packages-to-scan: org.dromara.system
- group: 4.代码生成模块
packages-to-scan: org.dromara.generator
# 多租户配置
tenant:
# 排除表
excludes:
- sys_menu
- sys_tenant
- sys_tenant_package
- sys_saas_user_role
# MyBatisPlus配置
# https://baomidou.com/config/
mybatis-plus:
# 多包名使用 例如 org.dromara.**.mapper,org.xxx.**.mapper
mapperPackage: com.luban.api.dao
# # 实体扫描多个package用逗号或者分号分隔
# typeAliasesPackage: com.luban.api.entity
global-config:
dbConfig:
# 主键类型
# AUTO 自增 NONE 空 INPUT 用户输入 ASSIGN_ID 雪花 ASSIGN_UUID 唯一 UUID
# 如需改为自增 需要将数据库表全部设置为自增
idType: ASSIGN_ID