|
|
@ -23,6 +23,7 @@ import com.shop.cereshop.app.service.distributor.CereShopDistributionLevelServic |
|
|
|
import com.shop.cereshop.app.service.distributor.CereShopDistributorService; |
|
|
|
import com.shop.cereshop.app.service.product.CereShopProductService; |
|
|
|
import com.shop.cereshop.app.service.shop.CerePlatformShopService; |
|
|
|
import com.shop.cereshop.app.utils.ContextUtil; |
|
|
|
import com.shop.cereshop.commons.constant.CoReturnFormat; |
|
|
|
import com.shop.cereshop.commons.domain.buyer.CereBuyerUser; |
|
|
|
import com.shop.cereshop.commons.domain.buyer.CereBuyerWithdrawal; |
|
|
@ -197,6 +198,7 @@ public class DistributorController { |
|
|
|
@GetMapping("getExtensionProduct") |
|
|
|
@ApiOperation(value = "推广商品查询") |
|
|
|
public Result<Page<Product>> getExtensionProduct(ShopParam param) throws CoBusinessException{ |
|
|
|
param.setProject(ContextUtil.getProject()); |
|
|
|
Page page= cerePlatformShopservice.getExtensionProduct(param); |
|
|
|
return new Result(page,CoReturnFormat.SUCCESS); |
|
|
|
} |
|
|
|