🎨 update project structure

This commit is contained in:
landaiqing
2024-09-29 15:46:35 +08:00
parent 2769467ce2
commit 87f1ff6961
85 changed files with 693 additions and 431 deletions

10
dao/role_dao.go Normal file
View File

@@ -0,0 +1,10 @@
package dao
import "schisandra-cloud-album/model"
type RoleDAO interface {
// GetRoleListByIds 获取角色列表 by id
GetRoleListByIds(id []*int64) ([]model.ScaAuthRole, error)
// AddRole 新增角色
AddRole(role model.ScaAuthRole) error
}