fix: 企业微信扫码信息配置错误
--bug=1050048 --user=王孝刚 【企业微信-扫码登录】配置信息错误 https://www.tapd.cn/57709429/s/1626175
This commit is contained in:
parent
40a1070b81
commit
b87c214cb5
@ -120,6 +120,8 @@ const open = async (platform: Platform) => {
|
|||||||
let defaultCallbackUrl = window.location.origin
|
let defaultCallbackUrl = window.location.origin
|
||||||
switch (platform.key) {
|
switch (platform.key) {
|
||||||
case 'wecom':
|
case 'wecom':
|
||||||
|
currentPlatform.config.callback_url = `${defaultCallbackUrl}/api/wecom`
|
||||||
|
break
|
||||||
case 'dingtalk':
|
case 'dingtalk':
|
||||||
if (currentPlatform.config.agent_id && currentPlatform.key === 'dingtalk') {
|
if (currentPlatform.config.agent_id && currentPlatform.key === 'dingtalk') {
|
||||||
currentPlatform.config.corp_id = currentPlatform.config.agent_id
|
currentPlatform.config.corp_id = currentPlatform.config.agent_id
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user