This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Files
schisandra-cloud-album/service/impl/role_service_impl.go
2024-09-29 15:46:35 +08:00

17 lines
292 B
Go

package impl
import (
"schisandra-cloud-album/dao/impl"
"schisandra-cloud-album/model"
)
var roleDao = impl.RoleDaoImpl{}
type RoleServiceImpl struct{}
// AddRoleService 添加角色
func (RoleServiceImpl) AddRoleService(role model.ScaAuthRole) error {
return roleDao.AddRole(role)
}