作者 tangxvhui

调试

... ... @@ -8,7 +8,6 @@ import (
"oppmg/protocol"
"oppmg/services/rbac"
"strings"
"time"
)
func SetLoginToken(param protocol.LoginAuthToken, userid int64, companyid int64) error {
... ... @@ -117,7 +116,7 @@ func SetUserPermission(objMap map[string]rbac.PermissionOptionObject, userid int
log.Error("设置权限缓存失败:%s", err)
}
}
client.Expire(key, 60*60*6*time.Second)
// client.Expire(key, 60*60*6*time.Second)
return nil
}
... ...