🎨 update project structure
This commit is contained in:
10
dao/role_dao.go
Normal file
10
dao/role_dao.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user