2021-11-07 开源测试版 2.4.0

This commit is contained in:
2021-11-07 15:43:36 +08:00
parent a9e17b5af7
commit 672cc966db
24 changed files with 922 additions and 1396 deletions
+5
View File
@@ -39,4 +39,9 @@ class Product extends BaseModel
{
return $this->belongsTo('Gdoo\Product\Models\Warehouse');
}
public function scopeDialog($q, $value)
{
return $q->whereIn('id', $value)->pluck('name', 'id');
}
}