Skip to content

Commit

Permalink
fix: 企业微信扫码信息配置错误
Browse files Browse the repository at this point in the history
--bug=1050048 --user=王孝刚 【企业微信-扫码登录】配置信息错误 https://www.tapd.cn/57709429/s/1626175
  • Loading branch information
wxg0103 committed Dec 6, 2024
1 parent 40a1070 commit b87c214
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/views/authentication/component/EditModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ const open = async (platform: Platform) => {
let defaultCallbackUrl = window.location.origin
switch (platform.key) {
case 'wecom':
currentPlatform.config.callback_url = `${defaultCallbackUrl}/api/wecom`
break
case 'dingtalk':
if (currentPlatform.config.agent_id && currentPlatform.key === 'dingtalk') {
currentPlatform.config.corp_id = currentPlatform.config.agent_id
Expand Down

0 comments on commit b87c214

Please sign in to comment.