Commit 7804731fa492f3bc277ceac74ffbf77f143ca229
1 parent
cf321226
Exists in
master
feat:健康地址修改,ticket获取用户信息修改
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/App.vue
| @@ -52,7 +52,7 @@ export default { | @@ -52,7 +52,7 @@ export default { | ||
| 52 | }) | 52 | }) |
| 53 | }) | 53 | }) |
| 54 | // 健康地址调用 | 54 | // 健康地址调用 |
| 55 | - this.yxAxios.get(`https://proxy.shunzhi.net/health/checkSx`).then((res) => { | 55 | + this.yxAxios.get(`https://ocp.sxsedu.net/szsh/health/checkSx`).then((res) => { |
| 56 | console.log('健康地址:', JSON.stringify(res.data)) | 56 | console.log('健康地址:', JSON.stringify(res.data)) |
| 57 | const bodyElement = document.getElementsByTagName('body')[0] | 57 | const bodyElement = document.getElementsByTagName('body')[0] |
| 58 | bodyElement.append(JSON.stringify(res.data)) | 58 | bodyElement.append(JSON.stringify(res.data)) |
src/views/Home.vue
| @@ -272,7 +272,7 @@ export default { | @@ -272,7 +272,7 @@ export default { | ||
| 272 | }, | 272 | }, |
| 273 | // 通过ticketId获取centerNo | 273 | // 通过ticketId获取centerNo |
| 274 | getCenterByTicketId(ticketId) { | 274 | getCenterByTicketId(ticketId) { |
| 275 | - this.yxAxios.get(`${this.proxyUrl}/api/third/getCenterNoWxSxPrivate?ticket=${ticketId}`).then((res) => { | 275 | + this.yxAxios.get(`${this.proxyUrl}/api/third/getCenterNoSxPrivate?ticket=${ticketId}`).then((res) => { |
| 276 | console.log('通过ticket获取centerNo成功:', res) | 276 | console.log('通过ticket获取centerNo成功:', res) |
| 277 | if (res.data.code == 200) { | 277 | if (res.data.code == 200) { |
| 278 | this.centerNo = res.data.message | 278 | this.centerNo = res.data.message |