|
@@ -0,0 +1,21 @@
|
|
|
+package cn.com.qmth.examcloud.core.basic.api.controller;
|
|
|
+
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import cn.com.qmth.examcloud.commons.base.util.DateUtil;
|
|
|
+import cn.com.qmth.examcloud.commons.web.support.ControllerSupport;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+
|
|
|
+@RestController
|
|
|
+@RequestMapping("${$rmp.ctr.basic}")
|
|
|
+public class TestController extends ControllerSupport {
|
|
|
+
|
|
|
+ @ApiOperation(value = "测试")
|
|
|
+ @GetMapping()
|
|
|
+ public String info() {
|
|
|
+ return DateUtil.getNowISO();
|
|
|
+ }
|
|
|
+
|
|
|
+}
|