dddd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
531 B

package systemuser
import (
"github.com/flipped-aurora/gin-vue-admin/server/global"
"github.com/flipped-aurora/gin-vue-admin/server/model/systemuser"
"github.com/gin-gonic/gin"
)
//角色相关
/*
角色列表
*/
func (s *SystemRoleApi) SystemRoleList(c *gin.Context) {}
//获取角色详细内容
func GetAdminRoleInfo(id int64) (isTrue bool, adminRoleInfo systemuser.SystemRole) {
isTrue = false
err := global.GVA_DB_Master.Where("r_id = ?", id).First(&adminRoleInfo).Error
if err == nil {
isTrue = true
}
return
}