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.supply;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* Supply 服务器的启动类
*
* @author ZT
*/
@SuppressWarnings("SpringComponentScan") // 忽略 IDEA 无法识别 ${yudao.info.base-package}
@SpringBootApplication(scanBasePackages = {"${yudao.info.base-package}.supply", "${yudao.info.base-package}.module"},
excludeName = {})
public class SupplyServerApplication {
public static void main(String[] args) {
SpringApplication.run(SupplyServerApplication.class, args);
}
}

View File

@@ -0,0 +1,28 @@
package cn.iocoder.yudao.supply.controller.supply;
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
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 static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
/**
* supply 控制器
*
* @author ZT
*/
@Tag(name = "supply")
@RestController
@RequestMapping("/supply")
public class SupplyController {
@GetMapping("/hello")
@Operation(summary = "Hello supply")
public CommonResult<String> hello() {
return success("Hello, supply!");
}
}