Commit 965a966e authored by 李纪文's avatar 李纪文

fix: 修改组态token服务

parent 7b6017e8
......@@ -161,8 +161,8 @@ export const getVideoUrl = () => {
export const loginauthen = () => {
if (!window.globalConfig?.hasGateWay) return false;
authorizationToken({
loginName: window.globalConfig.userInfo?.loginName || '',
type: 'WorkNo',
loginName: window.globalConfig.token || '',
type: 'token',
})
.then((tokenRes) => {
if (tokenRes.code === 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment