这段代码访问需要提供什么
public.downloadFile('XXX.com/api/Pluginother/' + pluginInfo['versions']['download'],toFile)这段代码好像是需要提供版本号,和下载文件具体位置,
所以这段网址完整链接需要怎么填呢
pluginInfo是JSON
pluginInfo['versions']['download']是JSON里面的吧就是一个参数
所以应该是XXX.com/api/Pluginother/DDDDDDDDDDDD 闷骚小贱男 发表于 2021-7-9 16:32
pluginInfo是JSON
pluginInfo['versions']['download']是JSON里面的吧就是一个参数
所以应该是XXX.c ...
versions": [{"m_version": "4", "version": "0", "update_msg": "", "dependnet": "", "mem_limit": 32, "cpu_limit": 1, "os_limit": 0, "version_msg": "\u589e\u52a0\u5907\u4efd\u4e0e\u6062\u590d\u529f\u80fd\uff0c\u4fee\u590d\u5df2\u77e5\u9519\u8bef", "download": "other/20210526/bb8688d94b152075b14d63c6ade29a12.zip
大佬,这是JSON内容,完整链接需要怎么填 http://xxx.com/api/Pluginother/ other/20210526/bb8688d94b152075b14d63c6ade29a12.zip
结果为http://xxx.com/api/Pluginother/other/20210526/bb8688d94b152075b14d63c6ade29a12.zip
页:
[1]