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

import com.sqx.common.utils.Result;
import com.sqx.modules.shop.entity.ShopType;
import com.sqx.modules.shop.service.ShopTypeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@Api(tags={"用户端-商户类型"})
@RestController
@RequestMapping("/app/shoptype")
public class ShopTypeController {

    @Autowired
    private ShopTypeService shopTypeService;

    @ApiOperation("查商户类型列表")
    @GetMapping(value = "selectShopTypeList")
    public Result selectShopTypeList(Integer page, Integer limit){

        return shopTypeService.selectShopTypeList(page, limit);
    }
}
