OneDrive 支持

This commit is contained in:
zhaojun1998
2020-01-20 21:36:13 +08:00
parent 9715cf922a
commit be633ebe1a
3 changed files with 33 additions and 0 deletions

View File

@@ -47,6 +47,11 @@ zfile:
header: header.md
footer: footer.md
password: password.txt
onedirve:
clientId: 09939809-c617-43c8-a220-a93c1513c5d4
clientSecret: _l:zI-_yrW75lV8M61K@z.I2K@B/On6Q
redirectUri: http://localhost:8080/onedirve/callback
scope: offline_access User.Read Files.ReadWrite.All
jetcache:
statIntervalMinutes: 0

View File

@@ -50,3 +50,5 @@ INSERT INTO STORAGE_CONFIG (`ID`, `k`, `TITLE`, `TYPE`) VALUES (38, 'base-path',
INSERT INTO STORAGE_CONFIG (`ID`, `k`, `TITLE`, `TYPE`) VALUES (39, 'base-path', '基路径', 'aliyun');
INSERT INTO STORAGE_CONFIG (`ID`, `k`, `TITLE`, `TYPE`) VALUES (40, 'base-path', '基路径', 'huawei');
INSERT INTO STORAGE_CONFIG (`ID`, `k`, `TITLE`, `TYPE`) VALUES (41, 'ftp', '基路径', 'ftp');
INSERT INTO STORAGE_CONFIG (`ID`, `k`, `TITLE`, `TYPE`) VALUES (42, 'accessToken', '访问令牌', 'onedrive');
INSERT INTO STORAGE_CONFIG (`ID`, `k`, `TITLE`, `TYPE`) VALUES (43, 'refreshToken', '刷新令牌', 'onedrive');

View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>CallBack Result</title>
</head>
<body>
<h1>accessToken</h1>
<div>
<input type="text" th:value="${accessToken}">
</div>
<h1>refreshToken</h1>
<div>
<input type="text" th:value="${refreshToken}">
</div>
</body>
<style>
input {
height: 30px;
width: 100%;
}
</style>
</html>