feat: 批量购买

This commit is contained in:
2025-04-22 14:30:04 +08:00
parent 83a817b9cf
commit b74d20279e
10 changed files with 319 additions and 4 deletions

View File

@@ -22,4 +22,10 @@ class SysConfigModel extends SysConfigBaseModel
{
return $this->belongsTo(SysConfigGroupModel::class, 'group_id', 'id');
}
// 所属名称标识范围查询
public function scopeByName($query, $name)
{
$query->where('name', '=', $name);
}
}