| | |
| | | onLoad(){ |
| | | let that = this |
| | | uni.request({ |
| | | url:this.baseUrl+"/available/take/check/site", |
| | | url: that.baseUrl + "/available/take/check/site", |
| | | header: { |
| | | 'token': localStorage.getItem('token') |
| | | 'token':uni.getStorageSync('token') |
| | | }, |
| | | method: 'POST', |
| | | async: false, |
| | |
| | | return; |
| | | } |
| | | uni.request({ |
| | | url:that.baseUrl + "/matCode/auth", |
| | | url: that.baseUrl + "/matCode/auth", |
| | | header: { |
| | | 'content-type':'application/x-www-form-urlencoded', |
| | | 'token': localStorage.getItem('token') |
| | | 'token':uni.getStorageSync('token') |
| | | }, |
| | | data: { |
| | | id:thatId |