关于实现友链的理论指导 #3
chihuo2104
started this conversation in
General
Replies: 1 comment 1 reply
-
具体实现已经搞好了 qwq |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
这篇是一个理论指导,理论上可以完成,如果有人代码实现,那就岂不美滋滋
1.先读取
https://cdn.jsdelivr.net/gh/chihuo2104/friends/friends/index.json
后,里面其实是一个数组,包含了所有的友链2.再循环读取
https://cdn.jsdelivr.net/gh/chihuo2104/friends/friends/xxx.json
即可获得数据3.前端渲染一下发出去
可以使用XHR实现,但我太弱了qwq
Beta Was this translation helpful? Give feedback.
All reactions