mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: update WeCom callback URL configuration in EditModal and remove WeCom SDK dependency
This commit is contained in:
parent
337124ca82
commit
59117a068a
|
|
@ -24,7 +24,6 @@
|
|||
"@logicflow/extension": "^1.2.27",
|
||||
"@vavt/cm-extension": "^1.9.1",
|
||||
"@vueuse/core": "^13.3.0",
|
||||
"@wecom/jssdk": "^2.3.3",
|
||||
"axios": "^1.8.4",
|
||||
"cropperjs": "^1.6.2",
|
||||
"dingtalk-jsapi": "^3.1.0",
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ const open = async (platform: Platform) => {
|
|||
currentPlatform.config.agent_id = currentPlatform.config.app_key
|
||||
delete currentPlatform.config.app_key
|
||||
}
|
||||
currentPlatform.config.callback_url = window.location.origin
|
||||
currentPlatform.config.callback_url = `${defaultCallbackUrl}/auth/wecom`
|
||||
break
|
||||
case 'dingtalk':
|
||||
if (currentPlatform.config.agent_id) {
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ const open = async (platform: Platform) => {
|
|||
currentPlatform.config.agent_id = currentPlatform.config.app_key
|
||||
delete currentPlatform.config.app_key
|
||||
}
|
||||
currentPlatform.config.callback_url = window.location.origin
|
||||
currentPlatform.config.callback_url = `${defaultCallbackUrl}/auth/wecom`
|
||||
break
|
||||
case 'dingtalk':
|
||||
if (currentPlatform.config.agent_id) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue