| | |
| | | package com.terra.discover.controller; |
| | | |
| | | import com.terra.common.controller.all.BaseController; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.terra.common.entity.all.ResponseMsg; |
| | | import java.util.Date; |
| | | |
| | | import java.text.SimpleDateFormat; |
| | | |
| | | @Api(tags = "知识发现\\测试服务") |
| | | @RestController |
| | | @RequestMapping("/test") |
| | | public class TestController extends BaseController { |
| | | public static final SimpleDateFormat YMDHMS_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| | | |
| | | @ApiOperation(value = "Test") |
| | | @GetMapping(value = "/test") |
| | | public ResponseMsg<Object> test() { |
| | | try { |