| | |
| | | import com.panzhihua.common.model.dtos.community.convenient.DeleteConvenientProductDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.OnShelfOrOffShelfProductDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.PageConvenientProductDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.PageMerchantProductDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.PageSearchDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.service_community.model.dos.ConvenientProductDO; |
| | | |
| | |
| | | |
| | | /** |
| | | * 小程序获取商家产品 |
| | | * @param pageMerchantProductDTO |
| | | * @param merchantId |
| | | * @return |
| | | */ |
| | | R getMerchantProduct(PageMerchantProductDTO pageMerchantProductDTO); |
| | | R getMerchantProduct(Long merchantId); |
| | | |
| | | /** |
| | | * 搜索商品信息 |
| | | * @param pageSearchDTO |
| | | * @return |
| | | */ |
| | | R pageSearchProduct(PageSearchDTO pageSearchDTO); |
| | | |
| | | /** |
| | | * 增加产品浏览量 |
| | | * @param productId |
| | | * @return |
| | | */ |
| | | R incrProductView(Long productId); |
| | | |
| | | /** |
| | | * 获取商家上下架产品数量 |
| | | * @param merchantId |
| | | * @return |
| | | */ |
| | | R getProductShelfNum(Long merchantId); |
| | | } |