feat: refactor auth package and add get users for staff

This commit is contained in:
ericprd
2025-03-07 17:39:26 +08:00
parent c48a4b944b
commit fdf572cd3d
29 changed files with 203 additions and 78 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"gorm.io/gorm"
)
func (sr *impl) GetStaffByID(ID string) (*staffdomain.Staff, error) {
func (sr *accessor) GetStaffByID(ID string) (*staffdomain.Staff, error) {
var staff staffdomain.Staff
if ID == "" {