修复查动画无法保存图片的问题
This commit is contained in:
parent
d56e237b62
commit
bcba637ad5
@ -43,6 +43,7 @@ public class Bangumi extends Model {
|
||||
List<String> infos = null;
|
||||
try {
|
||||
int id = Integer.parseInt(msg.replace(QQGroupCommands.QQ_BANGUMI_SUB, "").trim());
|
||||
QQBotManager.getInstance().sendMessage(qq,"获取中...");
|
||||
infos = BangumiTools.reportBangumiInfo(id);
|
||||
} catch (Exception e) {
|
||||
String key = msg.replace(QQGroupCommands.QQ_BANGUMI_SUB, "").trim();
|
||||
@ -82,7 +83,7 @@ public class Bangumi extends Model {
|
||||
return;
|
||||
}
|
||||
for (String img : imgs) {
|
||||
HttpTools.download(img,null, new DownloadInterface() {
|
||||
HttpTools.download(img,img+".png", new DownloadInterface() {
|
||||
@Override
|
||||
public void onDownload(File file) {
|
||||
super.onDownload(file);
|
||||
|
Loading…
Reference in New Issue
Block a user