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

import ink.wgink.common.base.DefaultBaseController;
import ink.wgink.interfaces.consts.ISystemConstant;
import cn.com.tenlion.materialstore.service.materialtext.IMaterialTextService;
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: MaterialTextController
 * @Description: 文字素材
 * @Author: CodeFactory
 * @Date: 2021-05-28 11:06:15
 * @Version: 3.0
 **/
@Api(tags = ISystemConstant.ROUTE_TAGS_PREFIX + "文字素材路由")
@RestController
@RequestMapping(ISystemConstant.ROUTE_PREFIX + "/materialtext")
public class MaterialTextRouteController extends DefaultBaseController {

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

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

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

}