|
@@ -9,16 +9,11 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-import cn.com.qmth.ac.util.Result;
|
|
|
-import io.swagger.annotations.ApiResponse;
|
|
|
-import io.swagger.annotations.ApiResponses;
|
|
|
-
|
|
|
@RestController
|
|
|
@RequestMapping()
|
|
|
@Validated
|
|
|
public class IndexController {
|
|
|
|
|
|
- @ApiResponses({ @ApiResponse(code = 200, message = "返回消息", response = Result.class) })
|
|
|
@RequestMapping(method = RequestMethod.GET)
|
|
|
public void index(HttpServletResponse response) throws IOException {
|
|
|
response.getWriter().print(System.currentTimeMillis());
|