We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
查看代码时加载缓慢,是因为生成短链接的接口失效请求长时间无法得到响应
将source/function.php line 413 的函数LongUrltoShortUrl()修改成如下:
source/function.php
function LongUrltoShortUrl($longurl = '') { //短网址API系统http://dwz.xwteam.cn/ //用户名 flzx3qc //密码 flzx3qc14yhl9t //Token DJkNjM4MTE5N $Url = "http://api.xwteam.cn/?s=App.Dwz.Suoim&token=DJkNjM4MTE5N&url=" . $longurl; $Url = vita_get_url_content($Url); $shortUrl = json_decode($Url, true); return $shortUrl['data']['Shortlink']; }
The text was updated successfully, but these errors were encountered:
依旧有问题= =
Sorry, something went wrong.
把source/function.php第420行url的https://改成http://就好了,这个网站证书有点问题
问题解决了,谢谢!
No branches or pull requests
问题
查看代码时加载缓慢,是因为生成短链接的接口失效请求长时间无法得到响应
修复方式
将
source/function.php
line 413 的函数LongUrltoShortUrl()修改成如下:The text was updated successfully, but these errors were encountered: