zixi 发表于 2024-5-7 00:24:27

逛论坛发现有人发了个微信小程序图床接口,就写了个php...

<i class="pstatus"> 本帖最后由 zixi 于 2024-5-7 00:39 编辑 </i><br />
<br />
原贴<a href="https://hostloc.com/thread-1303935-1-4.html" target="_blank">https://hostloc.com/thread-1303935-1-4.html</a><br />
<br />
顺手搞了个php和html,放github了<br />
https://github.com/zixiwu/wx-img-bed<br />
<br />
不过这个php在上传文件超过1M的时候会报错<br />
Error: OpenSSL SSL_read: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number, errno 0<br />
<br />
查了一下资料,改了一下post提交ssl验证都没用,也没找到原因,可能是我hk服务器的原因吧<img src="https://hostloc.com/static/image/smiley/yct/003.gif" smilieid="50" border="0" alt="" /> 求个大佬解惑,谢谢~

HOH 发表于 2024-5-7 00:35:50

什么叫“微信图床接口”,这是用人家小程序的接口

zixi 发表于 2024-5-7 00:39:20

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=15516350&ptid=1304053" target="_blank"><font color="#999999">HOH 发表于 2024-5-7 00:35</font></a></font><br />
什么叫“微信图床接口”,这是用人家小程序的接口</blockquote></div><br />
嗯?好像还真是哦,那我改改<br />
不过小程序也是微信的,没必要分这么细吧<img src="https://hostloc.com/static/image/smiley/yct/022.gif" smilieid="42" border="0" alt="" />

bilpam 发表于 2024-5-7 00:35:00

<i class="pstatus"> 本帖最后由 bilpam 于 2024-5-7 00:49 编辑 </i><br />
<br />
腾讯:“收到,即将修复”

字节 发表于 2024-5-7 00:44:04

厉害了

inla 发表于 2024-5-7 08:29:49

本地python可以上传大图<br />
<img id="aimg_zD50G" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://openai-75050.gzc.vod.tencent-cloud.com/openaiassets_681349affa41d58eb35b2e35ce2251d7_2579861715044369285.png" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" />

小宾 发表于 2024-5-7 09:13:07

能不能再优化一下,有点丑,有点简陋<img src="https://hostloc.com/static/image/smiley/default/lol.gif" smilieid="12" border="0" alt="" />

我不是大傻瓜 发表于 2024-5-7 09:56:29

这个翻译很中国,img bed

longpo 发表于 2024-5-7 10:02:08

牛逼啊
页: [1]
查看完整版本: 逛论坛发现有人发了个微信小程序图床接口,就写了个php...