File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
ui/src/views/chat/user-login/scanCompinents Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,9 @@ const init = async () => {
3939 }
4040 const redirectUri = encodeURIComponent (data .redirectUri )
4141 console .log (' redirectUri' , data .redirectUri )
42+ console .log (accessToken )
4243 // 手动构建生成二维码的url
43- iframeUrl .value = ` https://login.work.weixin.qq.com/wwlogin/sso/login?login_type=CorpApp&appid=${data .corpId }&agentid=${data .agentId }&redirect_uri=${redirectUri }&accessToken =${accessToken }&state=fit2cloud-wecom-qr &lang=${lang }&lang=${lang }&panel_size=small `
44+ iframeUrl .value = ` https://login.work.weixin.qq.com/wwlogin/sso/login?login_type=CorpApp&appid=${data .corpId }&agentid=${data .agentId }&redirect_uri=${redirectUri }&state =${accessToken }&lang=${lang }&lang=${lang }&panel_size=small `
4445}
4546
4647init ()
You can’t perform that action at this time.
0 commit comments