Răsfoiți Sursa

feat:用户权限

wangshan 2 ani în urmă
părinte
comite
a41321838e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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)