fix
Hentua
2023-04-25 05c40a68b5664c5ed41dbaa57ba30f0c73757b26
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
@@ -33,8 +30,8 @@
    @ApiResponses({
            @ApiResponse(code = 200, message = "success", response = ApiShopVo.class)
    })
    @PostMapping(value = "/")
    public FebsResponse shopList(ApiShopDto apiShopDto) {
    @PostMapping(value = "/shopList")
    public FebsResponse shopList(@RequestBody ApiShopDto apiShopDto) {
        return new FebsResponse().success().data(mallShopService.findShopList(apiShopDto));
    }
}