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

import ink.wgink.common.base.DefaultBaseController;
import ink.wgink.interfaces.consts.ISystemConstant;
import cn.com.tenlion.materialstore.service.materiallink.IMaterialLinkService;
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: MaterialLinkController
 * @Description: 链接素材
 * @Author: CodeFactory
 * @Date: 2021-05-28 10:54:44
 * @Version: 3.0
 **/
@Api(tags = ISystemConstant.ROUTE_TAGS_PREFIX + "链接素材路由")
@RestController
@RequestMapping(ISystemConstant.ROUTE_PREFIX + "/materiallink")
public class MaterialLinkRouteController extends DefaultBaseController {

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

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

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

}