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

import ink.wgink.common.base.DefaultBaseController;
import ink.wgink.interfaces.consts.ISystemConstant;
import cn.com.tenlion.materialstore.service.materialstore.IMaterialStoreService;
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: MaterialStoreController
 * @Description: CBC素材包
 * @Author: CodeFactory
 * @Date: 2021-08-24 11:13:38
 * @Version: 3.0
 **/
@Api(tags = ISystemConstant.ROUTE_TAGS_PREFIX + "CBC素材包路由")
@RestController
@RequestMapping(ISystemConstant.ROUTE_PREFIX + "/materialstore")
public class MaterialStoreRouteController extends DefaultBaseController {

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

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

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

}