{"Message":"增加钉钉登录","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/其他登录方式"},{"State":1,"Type":12,"Name":"CustomLibrary"},{"State":1,"Type":15,"Name":"ServerCommand/获取CorpId"},{"State":3,"Type":15,"Name":"ServerCommand/钉钉授权登录"},{"State":3,"Type":15,"Name":"ServerCommand/dingtalkLogin"},{"State":3,"Type":1,"Name":"PCPage/dingtalkLogin"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-09-04 21:36:24 +08:00
parent b311235743
commit 61f3aa574e
10 changed files with 1044 additions and 124 deletions

4
UserFile/Load.js Normal file
View File

@@ -0,0 +1,4 @@
function isDingTalk() {
const userAgent = navigator.userAgent || navigator.vendor || window.opera;
return /DingTalk/i.test(userAgent);
}