1. 统一包名修改

This commit is contained in:
chenbowen
2025-09-22 02:07:14 +08:00
parent 90dcb06c56
commit 30e8a5a704
4239 changed files with 303905 additions and 0 deletions

View File

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

View File

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