package com.doumee.api.business; import com.doumee.api.BaseController; import com.doumee.core.annotation.excel.ExcelExporter; import com.doumee.core.annotation.pr.PreventRepeat; import com.doumee.core.model.ApiResponse; import com.doumee.core.model.LoginUserInfo; import com.doumee.core.model.PageData; import com.doumee.core.model.PageWrap; import com.doumee.dao.business.model.Brand; import com.doumee.service.business.BrandService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpServletResponse; import java.util.ArrayList; import java.util.List; /** * @author 江蹄蹄 * @date 2023/05/12 13:58 */ @Api(tags = "品牌信息表") @RestController @RequestMapping("/business/brand") public class BrandController extends BaseController { @Autowired private BrandService brandService; @ApiOperation("列表查询") @PostMapping("/list") public ApiResponse> findList (@RequestBody Brand brand) { return ApiResponse.success(brandService.findList(brand)); } }