diff --git a/ui/package.json b/ui/package.json index 5c5f5199c..9632c3511 100644 --- a/ui/package.json +++ b/ui/package.json @@ -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", diff --git a/ui/src/views/system-chat-user/authentication/component/EditModal.vue b/ui/src/views/system-chat-user/authentication/component/EditModal.vue index d8d82091d..6e7844cbb 100644 --- a/ui/src/views/system-chat-user/authentication/component/EditModal.vue +++ b/ui/src/views/system-chat-user/authentication/component/EditModal.vue @@ -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) { diff --git a/ui/src/views/system-setting/authentication/component/EditModal.vue b/ui/src/views/system-setting/authentication/component/EditModal.vue index d9860498d..496949718 100644 --- a/ui/src/views/system-setting/authentication/component/EditModal.vue +++ b/ui/src/views/system-setting/authentication/component/EditModal.vue @@ -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) {