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

import com.sqx.common.utils.Result;
import com.sqx.modules.errand.service.ServiceTypeService;
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("/app/servicetype")
@Api(value = "用户端-服务类型", tags = {"用户端-服务类型"})
public class ServiceTypeController {

    @Autowired
    private ServiceTypeService serviceTypeService;

    @ApiOperation("查看服务类型")
    @GetMapping(value = "selectServiceTypeList")
    public Result selectServiceTypeList(){

        return serviceTypeService.selectServiceTypeList();
    }

}
