文件上传接口示例
2023-01-24 09:16:15 最后更新
//这里以酷站网软盘(官网http://pan.kzwr.com/)为示例
t()
{
 s api="http://sendfile.kzwr.com/Upload"
 s file="/sdcard/1.jpg"
 huf(api,"",file,"utf-8",f)
 f(f==null)
 {
  ufnsui()
{
   tw("上传失败!")

}
  endcode
  }
 s o=","
 sj(f,"",o,f)
 ss("http://pan.kzwr.com/kzwrfs?fid="+f,downurl)
 sxb(downurl)
 ufnsui()
 {
  tw("上传成功!链接已复制到粘贴板!")
  }
}