类 IndexController


  • @RestController
    @RequestMapping("test")
    public class IndexController
    extends Object
    springboot 项目使用 webhook 示例
    作者:
    woodwhales on 2021-07-16 20:46
    • 构造器详细资料

      • IndexController

        public IndexController()
    • 方法详细资料

      • send

        @GetMapping("/send")
        public String send​(@RequestParam("content")
                           String content)
        发送 webhook 通知
        参数:
        content - 要发送的内容
        返回:
        响应对象