Commit 905ea691 authored by 刘斌's avatar 刘斌

fix: 完善配置

parent d8db0fb8
......@@ -8,8 +8,8 @@ import org.springframework.context.annotation.Profile;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Profile("dev")
@Configuration(proxyBeanMethods = false)
//@Profile("dev")
//@Configuration(proxyBeanMethods = false)
public class CorsConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
......
......@@ -55,7 +55,7 @@ springdoc:
#这里定义了两个分组,可定义多个,也可以不定义
group-configs:
- group: 1.管理端
packages-to-scan: top.binfast.app.admin,top.binfast.app.biz.sysbiz
packages-to-scan: ${groupId},top.binfast.app.admin,top.binfast.app.biz.sysbiz
- group: 2.微信端
packages-to-scan: top.binfast.app.weixin
......@@ -185,6 +185,3 @@ justauth:
client-id: 10**********6
client-secret: 1f7d08**********5b7**********29e
redirect-uri: ${justauth.address}/social-callback?source=gitea
current:
domain: http://www.test.cn:8001
\ No newline at end of file
......@@ -217,9 +217,9 @@ warm-flow:
# 代码生成
codegen:
# 作者
author: LiuBin
author: Binfast
# 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
packageName: top.binfast.app
packageName: ${groupId}
# 自动去除表前缀,默认是false
autoRemovePre: false
# 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment