File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
system-chat-user/authentication/component
system-setting/authentication/component Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 2424 "@logicflow/extension" : " ^1.2.27" ,
2525 "@vavt/cm-extension" : " ^1.9.1" ,
2626 "@vueuse/core" : " ^13.3.0" ,
27- "@wecom/jssdk" : " ^2.3.3" ,
2827 "axios" : " ^1.8.4" ,
2928 "cropperjs" : " ^1.6.2" ,
3029 "dingtalk-jsapi" : " ^3.1.0" ,
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ const open = async (platform: Platform) => {
161161 currentPlatform .config .agent_id = currentPlatform .config .app_key
162162 delete currentPlatform .config .app_key
163163 }
164- currentPlatform .config .callback_url = window . location . origin
164+ currentPlatform .config .callback_url = ` ${ defaultCallbackUrl }/auth/wecom `
165165 break
166166 case ' dingtalk' :
167167 if (currentPlatform .config .agent_id ) {
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ const open = async (platform: Platform) => {
161161 currentPlatform .config .agent_id = currentPlatform .config .app_key
162162 delete currentPlatform .config .app_key
163163 }
164- currentPlatform .config .callback_url = window . location . origin
164+ currentPlatform .config .callback_url = ` ${ defaultCallbackUrl }/auth/wecom `
165165 break
166166 case ' dingtalk' :
167167 if (currentPlatform .config .agent_id ) {
You can’t perform that action at this time.
0 commit comments