diff --git a/austin-web/pom.xml b/austin-web/pom.xml
index 2022d97..a3361e5 100644
--- a/austin-web/pom.xml
+++ b/austin-web/pom.xml
@@ -52,6 +52,13 @@
springfox-boot-starter
+
+
+ io.jsonwebtoken
+ jjwt
+ 0.9.0
+
+
diff --git a/austin-web/src/main/java/com/java3y/austin/web/config/JwtConfig.java b/austin-web/src/main/java/com/java3y/austin/web/config/JwtConfig.java
new file mode 100644
index 0000000..f79905c
--- /dev/null
+++ b/austin-web/src/main/java/com/java3y/austin/web/config/JwtConfig.java
@@ -0,0 +1,17 @@
+package com.java3y.austin.web.config;
+
+import lombok.Data;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.stereotype.Component;
+
+import java.util.Set;
+
+@Data
+@Component
+@ConfigurationProperties(prefix = "jwt")
+public class JwtConfig {
+
+ private String key;
+
+}
+
diff --git a/austin-web/src/main/java/com/java3y/austin/web/controller/UserController.java b/austin-web/src/main/java/com/java3y/austin/web/controller/UserController.java
new file mode 100644
index 0000000..8a57751
--- /dev/null
+++ b/austin-web/src/main/java/com/java3y/austin/web/controller/UserController.java
@@ -0,0 +1,50 @@
+package com.java3y.austin.web.controller;
+
+
+import com.java3y.austin.web.annotation.AustinAspect;
+import com.java3y.austin.web.annotation.AustinResult;
+import com.java3y.austin.web.config.JwtConfig;
+import com.java3y.austin.web.utils.JwtUtil;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * 登录接口
+ *
+ * @author 3y
+ */
+@Slf4j
+@AustinAspect
+@RequestMapping("/user")
+@RestController
+@Api("用户controller")
+public class UserController {
+
+ @Autowired
+ private JwtConfig jwtConfig;
+
+ /**
+ * @param creator 创建人
+ * @return
+ */
+ @GetMapping("/login")
+ @ApiOperation("登录")
+ @AustinResult
+ public ResponseEntity