火车头 发表于 2009-2-11 18:33:41

【2009版】Discuz 6.1和7.0能够利用采集器发布附件的模块[标准版支持]

2009版已经支持{本地文件循环} [本地文件路径] [循环文件ID] {/本地文件循环} 等标签,将下载下载的文件通过表单接口直接上去





以下是dz6.0和7.0的带文件上传的模块,具体参数为
DZ6-----------------------------7dlocoyspider
Content-Disposition: form-data; name="formhash"

[登录随机值2]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="isblog"


-----------------------------7dlocoyspider
Content-Disposition: form-data; name="frombbs"

1
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="subject"

[标签:标题]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="posteditor_mediatyperadio"

on
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="message"

[标签:内容]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="previewbutton"

预览帖子
{本地文件循环:内容}-----------------------------7dlocoyspider
Content-Disposition: form-data; name="attach[]"; filename="[本地文件路径]"
Content-Type: image/gif

-----------------------------7dlocoyspider
Content-Disposition: form-data; name="localid[]"

[循环文件ID]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="attachperm[]"

0
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="attachprice[]"

0
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="attachdesc[]"


{/本地文件循环}-----------------------------7dlocoyspider
Content-Disposition: form-data; name="tags"

[标签:SY_tag]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="readperm"

0
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="typeid"

[标签:发帖分类]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="price"

0
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="iconid"

0
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="wysiwyg"

0
-----------------------------7dlocoyspider--DZ7{本地文件循环:内容}-----------------------------7dlocoyspider
Content-Disposition: form-data; name="attachdesc[]"


-----------------------------7dlocoyspider
Content-Disposition: form-data; name="localid[]"

[循环文件ID]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="attachperm[]"

0
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="attachprice[]"

0
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="attach[]"; filename="[本地文件路径]"
Content-Type: image/gif


{/本地文件循环}-----------------------------7dlocoyspider
Content-Disposition: form-data; name="formhash"

[登录随机值2]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="subject"

[标签:标题]
-----------------------------7dlocoyspider
Content-Disposition: form-data; name="message"

[标签:内容]
-----------------------------7dlocoyspider--

孤魂 发表于 2009-2-11 18:38:53

这个功能强呀,哈哈,但是要在宽带及服务器足够的情况下才推荐使用,不要上传大附件,把间隔时间稍微设长一点

专业收费采集 发表于 2009-2-11 18:40:15

强烈支持 但是现在只能看 还没用上呢

zoudehuai 发表于 2009-2-11 18:56:39

先占个位ali68ls

懷念過去↑文 发表于 2009-2-11 19:24:40

这个功能强

vus520 发表于 2009-2-11 20:40:22

本人的接口火速支持了本功能!!

6sky 发表于 2009-2-11 20:49:00

牛牛,支持!

luring 发表于 2009-2-11 21:09:44

没看懂.....

ghostscat 发表于 2009-2-12 08:45:30

只有自己试了,才能了解它

wgb189 发表于 2009-2-12 10:10:54

免费版支持吗ali68ls
页: [1] 2 3 4
查看完整版本: 【2009版】Discuz 6.1和7.0能够利用采集器发布附件的模块[标准版支持]