Commit 9d6e5472 by fengzhaoyu

fix:login minguserid ===> username

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