移除测试代码

This commit is contained in:
Yutousama 2022-04-08 16:44:00 +08:00
parent 4cbcba6b6e
commit b695e0ff08

View File

@ -64,12 +64,10 @@ public class TurnipProphet extends Model {
@Override @Override
public void onMessage(Long qq, MessageEvent event, boolean isGroup) { public void onMessage(Long qq, MessageEvent event, boolean isGroup) {
super.onMessage(qq, event, isGroup); super.onMessage(qq, event, isGroup);
System.out.println("测试大头菜");
user = qq; user = qq;
sendQQ = qq; sendQQ = qq;
if (isGroup) { if (isGroup) {
if (!event.getMessage().serializeToMiraiCode().contains("[mirai:at:2476945931]")) { if (!event.getMessage().serializeToMiraiCode().contains("[mirai:at:2476945931]")) {
System.out.println("没有@");
return; return;
} }
user = event.getSource().getFromId(); user = event.getSource().getFromId();
@ -90,7 +88,6 @@ public class TurnipProphet extends Model {
} }
private void showData() { private void showData() {
System.out.println("发送数据");
String redisKey = user + "_turnip"; String redisKey = user + "_turnip";
String data = RedisTools.get(redisKey); String data = RedisTools.get(redisKey);
if (StringUtils.isEmpty(data)) { if (StringUtils.isEmpty(data)) {