1. 统一包名修改

This commit is contained in:
chenbowen
2025-09-22 02:05:00 +08:00
parent 0420bf44c1
commit 90dcb06c56
4283 changed files with 1312 additions and 305431 deletions

View File

@@ -1,20 +0,0 @@
package cn.iocoder.yudao.template;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* Template 服务器的启动类
*
* @author ZT
*/
@SuppressWarnings("SpringComponentScan") // 忽略 IDEA 无法识别 ${yudao.info.base-package}
@SpringBootApplication(scanBasePackages = {"${yudao.info.base-package}.template", "${yudao.info.base-package}.module"},
excludeName = {})
public class TemplateServerApplication {
public static void main(String[] args) {
SpringApplication.run(TemplateServerApplication.class, args);
}
}

View File

@@ -1,29 +0,0 @@
package cn.iocoder.yudao.template.controller.template;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
/**
* template 控制器
*
* @author ZT
*/
@Tag(name = "template")
@RestController
@RequestMapping("/template")
public class TemplateController {
@GetMapping("/hello")
@Operation(summary = "Hello template")
public CommonResult<String> hello() {
return success("Hello, template!");
}
}

View File

@@ -107,11 +107,11 @@ logging:
name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径
level:
# 配置自己写的 MyBatis Mapper 打印日志
cn.iocoder.yudao.template.dal.mysql: debug
com.zt.plat.template.dal.mysql: debug
---
# 芋道配置项,设置当前项目所有自定义的配置
yudao:
cloud:
demo: false # 开启演示模式
# 附件加密相关配置
AES:

View File

@@ -107,12 +107,12 @@ logging:
name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径
level:
# 配置自己写的 MyBatis Mapper 打印日志
cn.iocoder.yudao.template.dal.mysql: debug
com.zt.plat.template.dal.mysql: debug
root: info
---
# 芋道配置项,设置当前项目所有自定义的配置
yudao:
cloud:
demo: false # 开启演示模式
# 附件加密相关配置
AES:

View File

@@ -55,7 +55,7 @@ mybatis-plus:
logic-delete-value: 1 # 逻辑已删除值(默认为 1)
logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
banner: false # 关闭控制台的 Banner 打印
type-aliases-package: cn.iocoder.yudao.template.dal.dataobject
type-aliases-package: com.zt.plat.template.dal.dataobject
# Spring Data Redis 配置
spring:
@@ -65,10 +65,10 @@ spring:
enabled: false # 项目未使用到 Spring Data Redis 的 Repository所以直接禁用保证启动速度
---
yudao:
cloud:
info:
version: 1.0.0
base-package: cn.iocoder.yudao
base-package: com.zt.plat
author: ZT
description: Template 服务器
web:
@@ -94,12 +94,12 @@ yudao:
swagger:
title: template-server
description: Template 服务器
version: ${yudao.info.version}
version: ${cloud.info.version}
email: xingyu4j@vip.qq.com
license: MIT
license-url: https://gitee.com/zhijiantianya/ruoyi-vue-pro/blob/master/LICENSE
codegen:
base-package: cn.iocoder.yudao.template
base-package: com.zt.plat.template
db-schemas: ${spring.datasource.dynamic.datasource.master.name}
front-type: 20 # 前端模版的类型,参见 CodegenFrontTypeEnum 枚举类
vo-type: 10 # VO 的类型,参见 CodegenVOTypeEnum 枚举类