| | |
| | | import com.panzhihua.common.model.dtos.community.convenient.DeleteConvenientProductDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.DisableOrEnableConvenientMerchantDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.OnShelfOrOffShelfProductDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.PageClassifyMerchantDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.PageConvenientMerchantDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.PageConvenientProductCategoryDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.PageConvenientProductDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.PageConvenientServiceCategoryDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.PagePopularMerchantDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.ResetPasswordConvenientMerchantDTO; |
| | | import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussDetailDTO; |
| | | import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussPublishResultDTO; |
| | |
| | | */ |
| | | @PutMapping("/convenient/product/onShelf-or-offShelf") |
| | | R onShelfOrOffShelfProduct(@RequestBody OnShelfOrOffShelfProductDTO onShelfOrOffShelfProductDTO); |
| | | |
| | | /** |
| | | * 获取所有产品分类 |
| | | * @return |
| | | */ |
| | | @GetMapping("/convenient/product-category/all") |
| | | R getAllProductCategory(); |
| | | |
| | | /** |
| | | * 获取该社区商家数量大于0的分类 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/convenient/service-category/suitable") |
| | | R getSuitableServiceCategories(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 获取该社区下的热门商家 |
| | | * @param pagePopularMerchantDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/convenient/merchant/popular") |
| | | R getPopularMerchants(@RequestBody PagePopularMerchantDTO pagePopularMerchantDTO); |
| | | |
| | | /** |
| | | * 分页获取服务类型下商家信息 |
| | | * @param pageClassifyMerchantDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/convenient/merchant/classify") |
| | | R getClassifyMerchants(PageClassifyMerchantDTO pageClassifyMerchantDTO); |
| | | } |