Commit 9d6e5472 by fengzhaoyu

fix:login minguserid ===> username

parent 3edcd6b2
......@@ -71,9 +71,10 @@ function getToken () {
if (res.data.resultCode === 0) {
// 有权限登录,返回用户信息
let mingUserId = res.data.data.mingUserId
let username = res.data.data.username
let loginData = qs.stringify({
username: mingUserId,
password: mingUserId,
username: username,
password: username,
scope: 'server',
grant_type: 'password'
})
......
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