package cn.com.qmth.stmms.subjectheader.menu;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/topicmarker/menu")
public class TopicMarkerMenuController {

    @RequestMapping("/changemenu")
    @ResponseBody
    public void topicChangeMenu(HttpServletRequest request, @RequestParam String menuNo) {
        request.getSession().setAttribute("menuNo", menuNo);
    }
}
