package com.mtz.qqbot.Controller;

import com.mtz.qqbot.Listener.HandleMessageListener;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class testController {

    @GetMapping("/list")
    public String hello() {
        return "今日好友消息：[" + HandleMessageListener.friendMessageCount + "]条\n" +
                "今日群聊1消息：[" + HandleMessageListener.group1MessageCount + "]条\n" +
                "今日群聊2消息：[" + HandleMessageListener.group2MessageCount + "]条\n" +
                "今日收到的群聊临时会话消息：[" + HandleMessageListener.groupTempMessageCount + "]条\n";
    }

}
