diff --git a/src/main/java/com/yutou/qqbot/models/Commands/Moyu.java b/src/main/java/com/yutou/qqbot/models/Commands/Moyu.java index 7db6987..ca4ecf7 100644 --- a/src/main/java/com/yutou/qqbot/models/Commands/Moyu.java +++ b/src/main/java/com/yutou/qqbot/models/Commands/Moyu.java @@ -51,9 +51,9 @@ public class Moyu extends Model { private void downloadImage(boolean isSend, Long qq) { Log.i(this, "下载图片"); - String ret = HttpTools.get("https://api.vvhan.com/api/moyu?type=json"); + String ret = HttpTools.get("https://api.emoao.com/api/moyu?type=json"); JSONObject json = JSON.parseObject(ret); - HttpTools.download(json.getString("url"), AppTools.getToDayTime() + "_moyu.jpg", new DownloadInterface() { + HttpTools.download(json.getString("imgurl"), AppTools.getToDayTime() + "_moyu.jpg", new DownloadInterface() { int count = 3; @Override