This commit is contained in:
Diamond 2024-06-22 23:18:05 +08:00
parent 808d17a583
commit 99ae97dd8a

View File

@ -0,0 +1,13 @@
package com.mtz.qqbot.Controller;
import com.mtz.qqbot.Listener.HandleMessageListener;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController("/hello")
public class ListenerController {
@GetMapping("/world")
public void test() {
System.out.println(HandleMessageListener.getMessageCount());
}
}