删除
This commit is contained in:
parent
0c8d7248d7
commit
19dc989933
@ -1,17 +0,0 @@
|
|||||||
package com.mtz.qqbot.Controller;
|
|
||||||
|
|
||||||
import com.mtz.qqbot.Listener.HandleMessageListener;
|
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.Model;
|
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
@Controller
|
|
||||||
public class ListenerController {
|
|
||||||
@RequestMapping("/world")
|
|
||||||
public String test(Model model) {
|
|
||||||
model.addAttribute("messageCount", HandleMessageListener.messageCount);
|
|
||||||
return "world";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user