test
This commit is contained in:
parent
808d17a583
commit
99ae97dd8a
@ -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());
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user