首页>代码>基于SpringBoot+Vue的学生选课管理系统代码分享>/student_server/src/main/java/com/auggie/student_server/controller/InfoController.java
package com.auggie.student_server.controller; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * @Auther: auggie * @Date: 2022/2/10 14:50 * @Description: InfoController * @Version 1.0.0 */ @RestController @RequestMapping("/info") @CrossOrigin("*") public class InfoController { private final String CURRENT_TERM = "22-春季学期"; private final boolean FORBID_COURSE_SELECTION = false; @RequestMapping("/getCurrentTerm") public String getCurrentTerm() { return CURRENT_TERM; } @RequestMapping("/getForbidCourseSelection") public boolean getForbidCourseSelection() { return FORBID_COURSE_SELECTION; } }
最近下载更多
最近浏览更多
微信网友_6507988172591104 LV1
前天
1941549176
4月29日
暂无贡献等级
saaaaaa LV14
4月16日
ruo12138 LV1
4月11日
1393691335
3月28日
暂无贡献等级
jc121140 LV3
3月25日
xiaozhi丶 LV14
3月24日
wanglinddad LV54
3月24日
15103432984 LV2
3月17日
sunlzh888888 LV28
3月16日