package com.qiwu.chatbotbackend.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class Hello { @RequestMapping("/sayhi") public String sayHi() { return "hello: "; } }