feat: 添加产品购买链接相关接口
This commit is contained in:
19
app/admin/model/v1/ProductPurchaseLinkPlatformModel.php
Normal file
19
app/admin/model/v1/ProductPurchaseLinkPlatformModel.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
declare (strict_types = 1);
|
||||
|
||||
namespace app\admin\model\v1;
|
||||
|
||||
use app\common\model\ProductPurchasePlatformBaseModel;
|
||||
|
||||
/**
|
||||
* 产品 - 采购链接平台模型
|
||||
* @mixin \think\Model
|
||||
*/
|
||||
class ProductPurchaseLinkPlatformModel extends ProductPurchasePlatformBaseModel
|
||||
{
|
||||
// 根据语言查询
|
||||
public function scopeLanguage($query, $value)
|
||||
{
|
||||
$query->where('language_id', '=', $value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user