新增漫画购买功能

This commit is contained in:
Yutousama 2022-04-08 13:06:23 +08:00
parent 2add54f3ad
commit 769f106fa3

View File

@ -72,10 +72,12 @@ public class BiliBiliMangeSign extends Model {
String[] message = msg.split(" "); String[] message = msg.split(" ");
int num = 0; int num = 0;
int id = 0; int id = 0;
System.out.println(message.length);
if (message.length < 2) { if (message.length < 2) {
try { try {
id = Integer.parseInt(message[0]); id = Integer.parseInt(message[0]);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
QQBotManager.getInstance().sendMessage(qq, "商城id错误"); QQBotManager.getInstance().sendMessage(qq, "商城id错误");
return; return;
} }