|
|
@@ -0,0 +1,34 @@
|
|
|
+package com.dk.oauth.controller.oauth;
|
|
|
+
|
|
|
+import com.dk.common.response.ResponseResultUtil;
|
|
|
+import com.dk.common.response.ResponseResultVO;
|
|
|
+
|
|
|
+import org.apache.oltu.oauth2.common.exception.OAuthSystemException;
|
|
|
+
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import javax.servlet.http.HttpServletRequest;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 登录
|
|
|
+ *
|
|
|
+ * @author iAP
|
|
|
+ * @since 2020-06-17 19:49:17
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/login")
|
|
|
+public class AppLoginContrller {
|
|
|
+ /**
|
|
|
+ * app登录接口 调用就成功
|
|
|
+ */
|
|
|
+ @PostMapping("/login")
|
|
|
+ public ResponseResultVO applogin(HttpServletRequest request) throws OAuthSystemException {
|
|
|
+ return ResponseResultUtil.success("");
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+}
|