[feat] 云函数 UserSaaS 支持
This commit is contained in:
+3
-1
@@ -172,7 +172,9 @@ func (this ConditionExpr) GetTokenValue(m contracts.ModelParam) any {
|
||||
case "UserRolesUuid":
|
||||
return m.GetGlobalParamsUser().Roles()
|
||||
case "UserPlatform":
|
||||
return m.GetGlobalParamsUser().Platform()
|
||||
return m.GetGlobalParamsUser().Runtime().Platform()
|
||||
case "UserSaaS":
|
||||
return m.GetGlobalParamsUser().Runtime().SaaS()
|
||||
}
|
||||
default:
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user