| | |
| | | |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import cc.mrbird.febs.mall.dto.ShopApplyDto; |
| | | import cc.mrbird.febs.mall.dto.ShopListDto; |
| | | import cc.mrbird.febs.mall.service.IApiMallMemberService; |
| | | import cc.mrbird.febs.mall.vo.ShopListVo; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiResponse; |
| | | import io.swagger.annotations.ApiResponses; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | public FebsResponse findApply() { |
| | | return new FebsResponse().success().data(memberService.findNewestApply()); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "获取商铺列表") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = ShopListVo.class) |
| | | }) |
| | | @PostMapping(value = "/findShopList") |
| | | public FebsResponse findShopList(@RequestBody ShopListDto shopListDto) { |
| | | return new FebsResponse().success().data(memberService.findShopListVo(shopListDto)); |
| | | } |
| | | } |