This commit is contained in:
PQZ 2024-08-28 19:14:43 +08:00
parent defbc14180
commit c6aac43d68

View File

@ -205,10 +205,10 @@
},
getUserInfo() {
request({
url: '/getJxInfo',
url: '/jx/auth/getJxInfo',
method: 'get'
}).then((res) => {
if (res.code == 200) {
if (res.code == 0) {
this.schoolInfo = res.data.schoolInfo
uni.setStorageSync("roles", res.data.roles)
uni.setStorageSync("deptId", res.data.schoolInfo.deptId)
@ -220,7 +220,7 @@
url: '/drivingSchool/system/reservationCourse/applet/getHomeData',
method: 'get'
}).then((res) => {
if (res.code == 200) {
if (res.code == 0) {
this.dataInfo = res.data
}
})