This commit is contained in:
wangchuxiao 2023-03-16 11:43:08 +08:00
parent be847d5d5e
commit 642743957e

View File

@ -78,7 +78,7 @@ func CheckAdmin(ctx context.Context) error {
if utils.IsContain(tracelog.GetOpUserID(ctx), config.Config.Manager.AppManagerUid) {
return nil
}
return errs.ErrIdentity.Wrap("is not admin")
return errs.ErrIdentity.Wrap("operate user is not admin")
}
func ParseRedisInterfaceToken(redisToken interface{}) (*Claims, error) {