From d552378a0fbc97a530e8d7601ca874551ced5d6c Mon Sep 17 00:00:00 2001 From: EricsHu <hrr145632> Date: 星期四, 30 三月 2023 11:10:00 +0800 Subject: [PATCH] 登录 --- src/main/java/com/qxueyou/scc/portal/homepage/controller/HomepageController.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/qxueyou/scc/portal/homepage/controller/HomepageController.java b/src/main/java/com/qxueyou/scc/portal/homepage/controller/HomepageController.java index 0496e44..e1f65ba 100644 --- a/src/main/java/com/qxueyou/scc/portal/homepage/controller/HomepageController.java +++ b/src/main/java/com/qxueyou/scc/portal/homepage/controller/HomepageController.java @@ -7,6 +7,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @@ -15,6 +16,7 @@ * @author ZERO 2021-03-03 09:06 */ @RestController +@CrossOrigin @RequestMapping("/homepage") @Api(tags = "棣栭〉鐩稿叧鎺ュ彛") public class HomepageController { -- Gitblit v1.8.0