Browse Source

feat:用户权限

wangshan 2 years ago
parent
commit
a41321838e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      entity/user.go

+ 1 - 1
entity/user.go

@@ -220,7 +220,7 @@ func (m *WorkDesktopMenu) AutoUserPowerInfo() map[string]int {
 	return UserPowerMap
 }
 
-//clear One
+// ClearUserPowerFunc clear One
 func ClearUserPowerFunc(userId, appId, entId string) {
 	entIdInt, _ := strconv.Atoi(entId)
 	userPowerRedisKey := fmt.Sprintf(UserPowerRedisKey, appId, time.Now().Day(), entIdInt, userId)