Open DJChanahCJD opened 4 months ago
很抱歉我这边也没上传页面的源代码
上传页面的源码来自@jue, 可参考issue #36
但其实如果需要构建新的上传页面的话,其实前端只调用了两个接口,你可以根据下面的接口文档自行实现前端页面
该请求是向指定API端点发出POST
请求,以获取必应壁纸数据。
POST
https://example.com/api/bing/wallpaper
{
"n": 5
}
n代表需要获取的图片数量
该请求是向指定API端点发出POST
请求,以上传图片文件。
POST
https://example.com/upload
form-data; name="file"; filename="example.png"
源代码是有,但是冗余特别大,我找不到要修改的地方