🎨 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

View File

@@ -0,0 +1,16 @@
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)
}