package com.sqx.modules.errand.controller.app;

import com.sqx.common.utils.Result;
import com.sqx.modules.errand.service.ErrandIllegalTypeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/shop/illegalType")
@Api(value = "商户端-投诉类型", tags = {"商户端-投诉类型"})
public class ShopIllegalTypeController {

    @Autowired
    private ErrandIllegalTypeService illegalTypeService;

    @ApiOperation("查（不分页）")
    @GetMapping(value = "selectIllegalTypeList")
    public Result selectIllegalTypeList(){

        return illegalTypeService.selectIllegalTypeList();
    }

}
