소스 검색

feat:用户权限

wangshan 2 년 전
부모
커밋
a41321838e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)