fix
Hentua
2023-05-08 0a0ddc2087fa31cafb0589cf5c826f7caef1914e
src/main/java/cc/mrbird/febs/mall/controller/ApiMallShopController.java
@@ -13,10 +13,7 @@
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@Slf4j
@Validated
@@ -34,7 +31,7 @@
            @ApiResponse(code = 200, message = "success", response = ApiShopVo.class)
    })
    @PostMapping(value = "/shopList")
    public FebsResponse shopList(ApiShopDto apiShopDto) {
    public FebsResponse shopList(@RequestBody ApiShopDto apiShopDto) {
        return new FebsResponse().success().data(mallShopService.findShopList(apiShopDto));
    }
}