Forráskód Böngészése

返回restcontroller

yq 3 éve
szülő
commit
cb9f440ff0

+ 2 - 1
service-backend/service-backend-biz/src/main/java/com/usky/backend/controller/SysTenantController.java

@@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
 
 
 /**
@@ -18,7 +19,7 @@ import org.springframework.web.bind.annotation.RequestParam;
  *
  * @since 2022-04-29
  */
-@Controller
+@RestController
 @RequestMapping("/sysTenant")
 public class SysTenantController {