更新摸鱼接口
This commit is contained in:
parent
299bc17758
commit
d76090af75
@ -48,7 +48,7 @@ public class Moyu extends Model {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void downloadImage() {
|
private void downloadImage() {
|
||||||
String ret = HttpTools.get("https://api.j4u.ink/proxy/remote/moyu.json");
|
String ret = HttpTools.get("https://api.j4u.ink/v1/store/other/proxy/remote/moyu.json");
|
||||||
JSONObject json = JSON.parseObject(ret);
|
JSONObject json = JSON.parseObject(ret);
|
||||||
HttpTools.download(json.getJSONObject("data").getString("moyu_url"), AppTools.getToDayTime() + "_moyu.jpg", new DownloadInterface() {
|
HttpTools.download(json.getJSONObject("data").getString("moyu_url"), AppTools.getToDayTime() + "_moyu.jpg", new DownloadInterface() {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user