Fx.global:全局变量相关的函数
1、查找全局变量值-findByApiName
Fx.global.findByApiName(<String apiName>)
参数 | 说明 |
---|---|
apiName | 全局变量的apiName |
data返回值类型:Map(返回全局变量值) 返回值例:
def (Boolean error,String result,String errorMessage) = Fx.global.findByApiName("var_zx9ua__g") Fx.log.info(result)