package com.cm.central.control.controller.routes.clientexception;

import com.cm.common.constants.ISystemConstant;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * When you feel like quitting. Think about why you started
 * 当你想要放弃的时候，想想当初你为何开始
 *
 * @ClassName: ClientExceptionRouteController
 * @Description: 客户端异常
 * @Author: WangGeng
 * @Date: 2020/7/30 7:45 下午
 * @Version: 1.0
 **/
@Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "客户端异常接口")
@Controller
@RequestMapping(ISystemConstant.ROUTE_PREFIX + "/clientexception")
public class ClientExceptionRouteController {

    @ApiOperation(value = "客户端异常列表")
    @GetMapping("listclientexception")
    public ModelAndView listClientexception() {
        return new ModelAndView("clientexception/list-clientexception");
    }

    @ApiOperation(value = "客户端异常编辑")
    @GetMapping("getclientexception")
    public ModelAndView getClientexception() {
        return new ModelAndView("clientexception/get-clientexception");
    }

}
