WIP: Get SharePoint Site ID
This commit is contained in:
parent
720fc60365
commit
36741886a5
2
.idea/cf-worker-api.iml
generated
2
.idea/cf-worker-api.iml
generated
@ -8,5 +8,7 @@
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="bootstrap" level="application" />
|
||||
<orderEntry type="library" name="sweetalert2" level="application" />
|
||||
</component>
|
||||
</module>
|
22
.idea/workspace.xml
generated
22
.idea/workspace.xml
generated
@ -5,13 +5,10 @@
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="987ac7e2-ceaa-49a2-b5c9-aed65a7c598d" name="更改" comment="deal ali cloud scan login">
|
||||
<change afterPath="$PROJECT_DIR$/.idea/dictionaries/project.xml" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/src/aliui.ts" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/src/oneui.ts" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/cf-worker-api.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/cf-worker-api.iml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/public/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/public/index.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/index.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/index.ts" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/oneui.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/oneui.ts" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
@ -28,6 +25,18 @@
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="GitHubPullRequestSearchHistory"><![CDATA[{
|
||||
"lastFilter": {
|
||||
"state": "OPEN",
|
||||
"assignee": "xiaoman1221"
|
||||
}
|
||||
}]]></component>
|
||||
<component name="GithubPullRequestsUISettings"><![CDATA[{
|
||||
"selectedUrlAndAccountId": {
|
||||
"url": "git@github.com:xiaoman1221/cf-worker-api.git",
|
||||
"accountId": "dc84280e-17eb-471f-bdb9-c542ed6bcde0"
|
||||
}
|
||||
}]]></component>
|
||||
<component name="ProblemsViewState">
|
||||
<option name="selectedTabId" value="CurrentFile" />
|
||||
</component>
|
||||
@ -52,7 +61,7 @@
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"settings.editor.selected.configurable": "preferences.language.and.region",
|
||||
"ts.external.directory.path": "C:\\Users\\pikachuren\\AppData\\Local\\Programs\\WebStorm\\plugins\\javascript-plugin\\jsLanguageServicesImpl\\external",
|
||||
"ts.external.directory.path": "/Users/xiaoman1221/Applications/WebStorm.app/Contents/plugins/javascript-plugin/jsLanguageServicesImpl/external",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
}
|
||||
}]]></component>
|
||||
@ -78,6 +87,7 @@
|
||||
<workItem from="1749696641557" duration="119000" />
|
||||
<workItem from="1749696773818" duration="18000" />
|
||||
<workItem from="1749696801474" duration="20247000" />
|
||||
<workItem from="1749729820615" duration="1140000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="fin onedrive official token">
|
||||
<option name="closed" value="true" />
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN" data-theme="light">
|
||||
<html lang="zh-CN" data-theme="light" xmlns="http://www.w3.org/1999/html">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
@ -139,7 +139,13 @@
|
||||
<label for="refresh-token" class="form-label">刷新秘钥</label>
|
||||
<textarea id="refresh-token" class="form-control" rows="3" readonly onclick="autoCopy(this)"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="sharepoint_url" class="form-label">SharePoint Site URL</label>
|
||||
<label for="sharepoint-url"></label><input type="text" id="sharepoint-url" class="form-control">
|
||||
</div>
|
||||
<div class="d-grid gap-2 mb-3">
|
||||
<button class="btn btn-primary" onclick="getSiteID()">获取 SharePoint 站点ID</button>
|
||||
</div>
|
||||
<div class="text-muted text-center">
|
||||
<p style="text-align:center">
|
||||
本工具所有信息只以Cookie形式存储于浏览器本地<br>
|
||||
@ -271,7 +277,9 @@
|
||||
}
|
||||
|
||||
getToken();
|
||||
function getSiteID(){
|
||||
|
||||
}
|
||||
//手动切换主题模式
|
||||
function toggleTheme() {
|
||||
const html = document.documentElement;
|
||||
|
@ -123,3 +123,7 @@ export async function oneToken(c: Context) {
|
||||
+ `&client_key=${client_key}`);
|
||||
}
|
||||
}
|
||||
// 获取SharePoint Site ID ##############################################################################
|
||||
export async function getSiteID(c: Context) {
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user