diff --git a/src/main/webapp/WEB-INF/jsp/decorators/main.jsp b/src/main/webapp/WEB-INF/jsp/decorators/main.jsp index ebc583c..13bdc19 100644 --- a/src/main/webapp/WEB-INF/jsp/decorators/main.jsp +++ b/src/main/webapp/WEB-INF/jsp/decorators/main.jsp @@ -19,6 +19,12 @@ <decorator:title default=""/> - Spring Security&Oauth2 + + diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 059fc5e..510dce7 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -63,5 +63,19 @@ Mobile +
+

+ 说明: Unity与Mobile菜单需要先获取到access_token后才能正常访问; 可以尝试在URL后面任意添加access_token参数值试试效果, +
+ 如: ${contextPath}/m/dashboard?access_token=i_am_testing_access_token +

+ +

+ 请求受保护的资源时传递 + Access Token + 有两种方式, 方式一在URL参数中添加access_token, 方式二在请求的Header中添加 Authorization, 其值为 bearer + your_access_token +

+
\ No newline at end of file