mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 企业微信扫码信息配置错误
--bug=1050048 --user=王孝刚 【企业微信-扫码登录】配置信息错误 https://www.tapd.cn/57709429/s/1626175
(cherry picked from commit b87c214cb5)
This commit is contained in:
parent
24e9184c61
commit
6f0877acf1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue