fix
Hentua
2023-04-23 3e1aff4b6f86a7116b730757f3ec501153bf7fd2
fix
1 files modified
7 ■■■■ changed files
src/main/java/cc/mrbird/febs/mall/controller/ApiMallShopController.java 7 ●●●● patch | view | raw | blame | history
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));
    }
}