Compare commits

..

No commits in common. "8df36edd2d8fc329885067ae1ead7781575f9985" and "4f5bcc9df3015a55251e9e97d6bbd11a746c0506" have entirely different histories.

2 changed files with 3 additions and 7 deletions

View File

@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class QQBotApplication {
public static final String version="QQBot v.1.4b.2";
public static final String version="QQBot v.1.4b.1";
public static void main(String[] args) {
System.out.println("version = " + version);
SpringApplication.run(QQBotApplication.class, args);

View File

@ -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.j4u.ink/v1/store/other/proxy/remote/moyu.json");
JSONObject json = JSON.parseObject(ret);
HttpTools.download(json.getString("url"), AppTools.getToDayTime() + "_moyu.jpg", new DownloadInterface() {
HttpTools.download(json.getJSONObject("data").getString("moyu_url"), AppTools.getToDayTime() + "_moyu.jpg", new DownloadInterface() {
int count = 3;
@Override
@ -86,8 +86,4 @@ public class Moyu extends Model {
downloadImage(true, qq);
}
}
public static void main(String[] args) {
}
}