1. 新增业务模块

This commit is contained in:
chenbowen
2025-09-04 09:08:08 +08:00
parent de695522b2
commit 519fcfdd6a
300 changed files with 19848 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
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

@@ -0,0 +1,29 @@
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!");
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff