|
|
@@ -0,0 +1,19 @@
|
|
|
+package com.usoftchina.smartschool.school.controller;
|
|
|
+
|
|
|
+import org.springframework.stereotype.Controller;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author: guq
|
|
|
+ * @create: 2019-01-21 09:36
|
|
|
+ **/
|
|
|
+@RestController
|
|
|
+@RequestMapping("school")
|
|
|
+public class SchoolTest {
|
|
|
+
|
|
|
+ @RequestMapping("/test")
|
|
|
+ public String test() {
|
|
|
+ return "测试网络是否正常";
|
|
|
+ }
|
|
|
+}
|