Commit bec2466de799135a1a227b88fad94c831f5d0295
1 parent
0b4beb09
Exists in
master
feat:漏洞修复替换接口
Showing
5 changed files
with
6 additions
and
6 deletions
Show diff stats
src/views/Home/Home.vue
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | <div class="right"> |
| 8 | 8 | <!-- <p class="name">{{nicknameUser}}</p> --> |
| 9 | 9 | <div class="name"> |
| 10 | - <span>{{ nicknameUser }}</span> | |
| 10 | + <span>{{ userInfo.travelerName }}</span> | |
| 11 | 11 | <div class="school" v-show="schoolNamesChoose" @click="changeSchool"> |
| 12 | 12 | {{ schoolNamesChoose.schoolName }}<img src="@/assets/Travel/change.png" /> |
| 13 | 13 | </div> |
| ... | ... | @@ -211,7 +211,7 @@ export default { |
| 211 | 211 | // 获取用户信息 |
| 212 | 212 | getUserInfo() { |
| 213 | 213 | // alert('getUserInfo:' + this.centerNo) |
| 214 | - this.yxAxios.get(`${this.proxyUrl}/user/info/getPortalUserByNum?userNum=${this.centerNo}`).then((res) => { | |
| 214 | + this.yxAxios.post(`${this.proxyUrl}/user/info/getPortalUserByNumV2?userNum=${this.centerNo}`).then((res) => { | |
| 215 | 215 | console.log('getUserInfo', res) |
| 216 | 216 | if (res.data.code == 200) { |
| 217 | 217 | let userInfo = res.data.data.userInfo | ... | ... |
src/views/Home/HomeUserInfo.vue
| ... | ... | @@ -52,7 +52,7 @@ export default { |
| 52 | 52 | duration: 0, |
| 53 | 53 | forbidClick: true, |
| 54 | 54 | }) |
| 55 | - this.yxAxios.get(`${this.proxyUrl}/user/info/getPortalUserByNum?userNum=${this.centerNo}`).then((res) => { | |
| 55 | + this.yxAxios.post(`${this.proxyUrl}/user/info/getPortalUserByNumV2?userNum=${this.centerNo}`).then((res) => { | |
| 56 | 56 | this.$toast.clear() |
| 57 | 57 | if (res.data.code == 200) { |
| 58 | 58 | const userInfo = res.data.data.userInfo | ... | ... |
src/views/Home/component/HomeChildList.vue
| ... | ... | @@ -65,7 +65,7 @@ export default { |
| 65 | 65 | duration: 0, |
| 66 | 66 | forbidClick: true |
| 67 | 67 | }) |
| 68 | - this.yxAxios.get(`${this.proxyUrl}/user/info/getPortalUserByNum?userNum=${localStorage.getItem('centerNo')}`).then((res) => { | |
| 68 | + this.yxAxios.post(`${this.proxyUrl}/user/info/getPortalUserByNumV2?userNum=${localStorage.getItem('centerNo')}`).then((res) => { | |
| 69 | 69 | console.log('getUserInfo', res) |
| 70 | 70 | this.$toast.clear() |
| 71 | 71 | if (res.data.code == 200) { | ... | ... |
src/views/Service/SelectContact.vue
| ... | ... | @@ -53,7 +53,7 @@ export default { |
| 53 | 53 | duration: 0, |
| 54 | 54 | forbidClick: true, |
| 55 | 55 | }) |
| 56 | - this.yxAxios.get(`${this.proxyUrl}/user/info/getPortalUserByNum?userNum=${localStorage.getItem('centerNo')}`).then((res) => { | |
| 56 | + this.yxAxios.post(`${this.proxyUrl}/user/info/getPortalUserByNumV2?userNum=${localStorage.getItem('centerNo')}`).then((res) => { | |
| 57 | 57 | console.log('联系人列表:', res) |
| 58 | 58 | this.$toast.clear() |
| 59 | 59 | if (res.data.code == 200) { | ... | ... |
src/views/Service/ServiceKQ.vue
| ... | ... | @@ -144,7 +144,7 @@ export default { |
| 144 | 144 | getUserInfo() { |
| 145 | 145 | this.centerNo = localStorage.getItem('centerNo') |
| 146 | 146 | // alert('getUserInfo:' + this.centerNo) |
| 147 | - this.yxAxios.get(`${this.proxyUrl}/user/info/getPortalUserByNum?userNum=${localStorage.getItem('centerNo')}`).then((res) => { | |
| 147 | + this.yxAxios.post(`${this.proxyUrl}/user/info/getPortalUserByNumV2?userNum=${localStorage.getItem('centerNo')}`).then((res) => { | |
| 148 | 148 | console.log('获取用户信息getPortalUserByNum:', res) |
| 149 | 149 | if (res.data.code == 200) { |
| 150 | 150 | let userInfo = res.data.data.userInfo | ... | ... |