Skip to content
New issue

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

随记文章图片失效 #129

Open
maya1900 opened this issue Apr 6, 2024 · 8 comments
Open

随记文章图片失效 #129

maya1900 opened this issue Apr 6, 2024 · 8 comments
Assignees
Labels
BUG 它不工作!

Comments

@maya1900
Copy link

maya1900 commented Apr 6, 2024

随机文章图的cdn都失效了

@maya1900 maya1900 added the BUG 它不工作! label Apr 6, 2024
@bhaoo
Copy link
Owner

bhaoo commented Apr 8, 2024

感谢反馈 晚点我看看

@maya1900
Copy link
Author

maya1900 commented Apr 8, 2024 via email

@bhaoo bhaoo self-assigned this Apr 8, 2024
@mengluo04
Copy link

感谢反馈 晚点我看看

我下载的最新release也是,换了api也是,图片接口报错

@maya1900
Copy link
Author

maya1900 commented Apr 26, 2024 via email

@HelloMusician
Copy link

我的cdn用的还行,换一个api就可以了

@maya1900
Copy link
Author

我的cdn用的还行,换一个api就可以了

推荐一个呢?

@LoCCai
Copy link

LoCCai commented Aug 26, 2024

随便找几个动漫图链,给他变成随机数组加a=$rand请求,基本就没问题了,隔几个月检查一下看哪个gg了换一下

@LoCCai
Copy link

LoCCai commented Aug 26, 2024

if ($setting == 'api.ohmyga.cn') {
$array_list = ['https://t.alcy.cc/pc/?rand=','https://t.mwm.moe/fj?rand=','https://api.dujin.org/pic/yuanshen/?rand='];
// array_list + array_rand -> 随机键 -> 随机元素
$output = $array_list[array_rand($array_list)].$rand;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG 它不工作!
Projects
None yet
Development

No branches or pull requests

5 participants