Browse Source

添加tokenController

tuonina 6 years ago
parent
commit
cd74658406

+ 20 - 0
zen-web/src/main/kotlin/cn/gygxzc/envir/api/sys/controller/TokenController.java

@@ -0,0 +1,20 @@
+package cn.gygxzc.envir.api.sys.controller;
+
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * Created by niantuo on 2018/11/1.
+ * 检查是否登录,或者token是有有效
+ */
+@RestController
+@RequestMapping("/token")
+public class TokenController {
+
+
+    @GetMapping("/check")
+    public void check() {
+
+    }
+}