package org.jeecg.modules.weekly.controller; import io.swagger.annotations.ApiOperation; import org.jeecg.modules.weekly.entity.JeecgHelloEntity; import org.jeecg.modules.weekly.service.IJeecgHelloService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import lombok.extern.slf4j.Slf4j; @RestController @RequestMapping("/weekly/jeecg") @Slf4j public class JeecgHelloController { @Autowired private IJeecgHelloService jeecgHelloService; @ApiOperation(value = "week测试", notes = "week测试") @GetMapping(value = "/hello") public String queryPageList() { return jeecgHelloService.hello(); } }