新增漫画购买功能

This commit is contained in:
Yutousama 2022-04-08 13:31:54 +08:00
parent fa2761dbe2
commit 9ddd8059dd
2 changed files with 3 additions and 3 deletions

View File

@ -142,7 +142,7 @@ public class BiliBiliManga {
}
}
}
}, 0, 500);
}, 0, 1000);
}
public void stopPayMission() {

View File

@ -70,13 +70,13 @@ public class BiliBiliMangeSign extends Model {
} else if (msg.startsWith(QQFromCommands.BILI_MANGA_PAY)) {
msg = msg.replace(QQFromCommands.BILI_MANGA_PAY, "");
String[] message = msg.split(" ");
int num = 0;
int num = -1;
int id = 0;
for (String s : message) {
try{
if(id==0){
id=Integer.parseInt(s);
}else if(num==0){
}else if(num==-1){
num=Integer.parseInt(s);
}
}catch (Exception ignored){