|
@@ -1,27 +0,0 @@
|
|
-package com.cdf.controller.api;
|
|
|
|
-
|
|
|
|
-import com.cdf.common.ResultData;
|
|
|
|
-import com.cdf.request.BrandApiParam;
|
|
|
|
-import com.cdf.service.IBrandService;
|
|
|
|
-import com.cdf.service.impl.ExcelService;
|
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
|
-
|
|
|
|
-import javax.servlet.http.HttpServletRequest;
|
|
|
|
-import javax.servlet.http.HttpServletResponse;
|
|
|
|
-
|
|
|
|
-@RestController
|
|
|
|
-@RequestMapping("/api/brand")
|
|
|
|
-public class BrandApiController {
|
|
|
|
-
|
|
|
|
- @Autowired
|
|
|
|
- IBrandService brandService;
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- @PostMapping("/list")
|
|
|
|
- public ResultData list(@RequestBody BrandApiParam param){
|
|
|
|
- return ResultData.ok(brandService.pageList(param));
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-}
|
|
|