修复查动画无法保存图片的问题
This commit is contained in:
parent
bcba637ad5
commit
7fa6c22ef8
@ -57,7 +57,7 @@ public class Bangumi extends Model {
|
||||
info = info.replace("<img " + img + " /img>", "");
|
||||
}
|
||||
}
|
||||
sendImagesMsg(imgs,qq, info);
|
||||
sendImagesMsg(imgs,qq, info,msg.replace(QQGroupCommands.QQ_BANGUMI_SUB,"").trim());
|
||||
}
|
||||
}
|
||||
public static List<String> getImages(String str) {
|
||||
@ -75,7 +75,7 @@ public class Bangumi extends Model {
|
||||
private List<File> files;
|
||||
private int index = 0;
|
||||
|
||||
private void sendImagesMsg(List<String> imgs,Long qq, String text) {
|
||||
private void sendImagesMsg(List<String> imgs, Long qq, String text, String key) {
|
||||
files = new ArrayList<>();
|
||||
index = 0;
|
||||
if (imgs.size() == 0) {
|
||||
@ -83,7 +83,7 @@ public class Bangumi extends Model {
|
||||
return;
|
||||
}
|
||||
for (String img : imgs) {
|
||||
HttpTools.download(img,img+".png", new DownloadInterface() {
|
||||
HttpTools.download(img,key+".png", new DownloadInterface() {
|
||||
@Override
|
||||
public void onDownload(File file) {
|
||||
super.onDownload(file);
|
||||
|
Loading…
Reference in New Issue
Block a user