package ink.wgink.module.instantmessage.controller.route;

import ink.wgink.common.base.DefaultBaseController;
import ink.wgink.interfaces.consts.ISystemConstant;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * @ClassName: NoticeController
 * @Description: 即使消息通知路由
 * @Author: CodeFactory
 * @Date: 2021-10-22 11:04:57
 * @Version: 3.0
 **/
@Api(tags = ISystemConstant.ROUTE_TAGS_PREFIX + "即使消息通知路由")
@RestController
@RequestMapping(ISystemConstant.ROUTE_PREFIX + "/websocket/notice")
public class WebSocketNoticeRouteController extends DefaultBaseController {

    @GetMapping("send")
    public ModelAndView send() {
        return new ModelAndView("notice/send");
    }

    @GetMapping("list")
    public ModelAndView list() {
        return new ModelAndView("notice/list");
    }

}