package com.dsh.guns.modular.system.controller.code;
|
|
import org.springframework.stereotype.Controller;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
/**
|
* 课程管理
|
* @author zhibing.pu
|
* @Date 2023/7/27 15:54
|
*/
|
@Controller
|
@RequestMapping("/course")
|
public class TCourseController {
|
|
private String PREFIX = "/system/course/";
|
|
|
/**
|
* 跳转到列表页
|
* @return
|
*/
|
@GetMapping("/showCourseList")
|
public String showCourseList(){
|
return PREFIX + "course.html";
|
}
|
|
|
/**
|
* 跳转到添加页
|
* @return
|
*/
|
@GetMapping("/showAddCourse")
|
public String showAddCourse(){
|
return PREFIX + "course_add.html";
|
}
|
|
}
|