ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
![args元素](https://gitee.com/mianshenglee/datastorage/raw/master/md-photo/deploy-tool/args%E5%85%83%E7%B4%A0.jpg) `args`元素当前主要用在`OperGenerateQrcode`生成二维码操作中,为操作提供相应的参数,且参数的顺序是固定的。如下示例是生成二维码: ```xml <execution name="生成下载移动端二维码图" id="generateQrCode" display="true" class-name="deploy.OperGenerateQrcode"> <configuration> <args> <!-- 二维码内容 --> <arg><![CDATA[http://$${server_web_extranet_host}:$${server_web_intranet_port}/data]]></arg> <!-- 图片宽度 --> <arg><![CDATA[110]]></arg> <!-- 图片高度 --> <arg><![CDATA[110]]></arg> <!-- 生成图片存放绝对路径,包含图片名称及后缀,如scan.png --> <arg><![CDATA[$${deployment_home}/package/test/qrcode.png]]></arg> </args> </configuration> </execution> ``` 说明: > * OperGenerateQrcode操作,参数顺序为(1)二维码内容,(2)图片宽度,(3)图片高度,(4)生成图片存放绝对路径 [18]: http://ww2.sinaimg.cn/large/72d660a7gw1fbn8jw9j09j205q01y3yb.jpg