package cn.com.tenlion.materialstore.controller.route.materialvideo;

import ink.wgink.common.base.DefaultBaseController;
import ink.wgink.interfaces.consts.ISystemConstant;
import cn.com.tenlion.materialstore.service.materialvideo.IMaterialVideoService;
import io.swagger.annotations.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * @ClassName: MaterialVideoController
 * @Description: 视频素材
 * @Author: CodeFactory
 * @Date: 2021-05-28 11:07:46
 * @Version: 3.0
 **/
@Api(tags = ISystemConstant.ROUTE_TAGS_PREFIX + "视频素材路由")
@RestController
@RequestMapping(ISystemConstant.ROUTE_PREFIX + "/materialvideo")
public class MaterialVideoRouteController extends DefaultBaseController {

    @GetMapping("save")
    public ModelAndView save() {
        return new ModelAndView("materialvideo/save");
    }

    @GetMapping("update")
    public ModelAndView update() {
        return new ModelAndView("materialvideo/update");
    }

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

}