我在这里做错了什么?
在我的配置文件中,我有这一行:
plot \
"<echo '0 1'" ti "14.000 MHz" ax x1y1 w lines ls 1, \
"<echo '0 1'" ti "14.174 MHz" ax x1y1 w lines ls 1 lw 2, \
"<echo '0 1'" ti "14.350 MHz" ax x1y1 w lines ls 1, \
"<echo '0 1'" ti "21.000 MHz" ax x1y1 w lines ls 4, \
"<echo '0 1'" ti "21.224 MHz" ax x1y1 w lines ls 4 lw 2, \
"<echo '0 1'" ti "21.450 MHz" ax x1y1 w lines ls 4, \
"<echo '0 1'" ti "28.000 MHz" ax x1y1 w lines ls 3, \
"<echo '0 1'" ti "28.500 MHz" ax x1y1 w lines ls 3 lw 2, \
"<echo '0 1'" ti "29.100 MHz" ax x1y1 w lines ls 3
在服务中,我正在尝试访问电子邮件地址,具体取决于密钥。看起来我应该能够像这样访问它,其中partner参数对应于配置数组中的键。
payments.mail.partner = [
some_partner: "partner@email.com",
other_partner: "partner2@email.com"
]
然而,这只会返回一个Groovy对象。我尝试将它转换为字符串,但没有运气。我哪里错了?