商品列表

This commit is contained in:
彭桃 2023-03-10 15:39:16 +08:00
parent 93d9b27ee1
commit 8533ebdc60
3 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,7 @@ class SupplyChain extends BaseModel
// 设置当前模型的数据库连接
protected $connection = 'nongke';
protected $table = 'fa_supply_chain';
/**
* @return string

View File

@ -22,7 +22,7 @@ class SupplyChainLinkMerchant extends BaseModel
// 设置当前模型的数据库连接
protected $connection = 'nongke';
protected $table = 'fa_supply_chain_link_merchant';
/**
* @return string
* @author xaboy

View File

@ -160,6 +160,8 @@ class SpuRepository extends BaseRepository
// 只获取当前供应链内商户的商品
$query->whereIn('S.mer_id', $MerListId);
//获取自提
$query->whereLike('delivery_way',"%1%");
}
$productMake = app()->make(ProductRepository::class);