新增 erp 模块

This commit is contained in:
chenbowen
2025-09-16 15:36:40 +08:00
parent ddfdb9d491
commit cf2d98cc34
5 changed files with 257 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
package cn.iocoder.yudao.module.erp.controller.admin.erp;
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;
/**
* ERP 控制器
*
* @author ERP Module
*/
@Tag(name = "管理后台 - ERP")
@RestController
@RequestMapping("/admin/erp/erp")
public class ErpController {
@GetMapping("/hello")
@Operation(summary = "Hello ERP")
public CommonResult<String> hello() {
return success("Hello, ERP!");
}
@GetMapping("/info")
@Operation(summary = "ERP 模块信息")
public CommonResult<String> info() {
return success("ERP 模块已成功创建并运行");
}
}