controller demo

This commit is contained in:
mensc 2024-06-23 12:26:06 +08:00
parent b4022fb1e1
commit 12d054589f

View File

@ -0,0 +1,14 @@
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
public class testController {
@GetMapping("/hello")
public String hello() {
return "好友群聊消息:" + HandleMessageListener.messageCount;
}
}