|
|
@@ -1,7 +1,9 @@
|
|
|
package com.xunmei.auth.controller;
|
|
|
|
|
|
+import io.swagger.v3.oas.annotations.parameters.RequestBody;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
|
* @author gaoxiong
|
|
|
@@ -10,11 +12,10 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
* @Description:
|
|
|
* @date 2023/11/2217:55
|
|
|
*/
|
|
|
-@Controller
|
|
|
-@RequestMapping("/version")
|
|
|
+@RestController
|
|
|
public class VersionController {
|
|
|
|
|
|
- @RequestMapping
|
|
|
+ @RequestMapping("/version")
|
|
|
public String getVersion(){
|
|
|
return "未设置";
|
|
|
}
|