Commit cddb4010 by fengzhaoyu

Merge branch 'ISV'

parents 865569ca 9d6e5472
...@@ -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'
}) })
......
...@@ -487,7 +487,7 @@ export default { ...@@ -487,7 +487,7 @@ export default {
this.visible2 = false this.visible2 = false
this.updateBindCardStatusForm.resetFields() this.updateBindCardStatusForm.resetFields()
this.$message.success('操作成功') this.$message.success('操作成功')
} else if (res.data.resultCode === 10010009) { } else if (res.data.resultCode === 10105) {
this.$message.error('该卡片已被占用') this.$message.error('该卡片已被占用')
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
......
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