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

import ink.wgink.common.base.DefaultBaseController;
import ink.wgink.interfaces.consts.ISystemConstant;
import cn.com.tenlion.materialstore.service.materialphoto.IMaterialPhotoService;
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: MaterialPhotoController
 * @Description: 图片素材
 * @Author: CodeFactory
 * @Date: 2021-05-28 11:04:34
 * @Version: 3.0
 **/
@Api(tags = ISystemConstant.ROUTE_TAGS_PREFIX + "图片素材路由")
@RestController
@RequestMapping(ISystemConstant.ROUTE_PREFIX + "/materialphoto")
public class MaterialPhotoRouteController extends DefaultBaseController {

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

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

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

}