1
This commit is contained in:
parent
defbc14180
commit
c6aac43d68
@ -205,10 +205,10 @@
|
|||||||
},
|
},
|
||||||
getUserInfo() {
|
getUserInfo() {
|
||||||
request({
|
request({
|
||||||
url: '/getJxInfo',
|
url: '/jx/auth/getJxInfo',
|
||||||
method: 'get'
|
method: 'get'
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 0) {
|
||||||
this.schoolInfo = res.data.schoolInfo
|
this.schoolInfo = res.data.schoolInfo
|
||||||
uni.setStorageSync("roles", res.data.roles)
|
uni.setStorageSync("roles", res.data.roles)
|
||||||
uni.setStorageSync("deptId", res.data.schoolInfo.deptId)
|
uni.setStorageSync("deptId", res.data.schoolInfo.deptId)
|
||||||
@ -220,7 +220,7 @@
|
|||||||
url: '/drivingSchool/system/reservationCourse/applet/getHomeData',
|
url: '/drivingSchool/system/reservationCourse/applet/getHomeData',
|
||||||
method: 'get'
|
method: 'get'
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 0) {
|
||||||
this.dataInfo = res.data
|
this.dataInfo = res.data
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user