| | |
| | | this.baseIP = UIP; |
| | | const UPORT = uni.getStorageSync('UPORT'); |
| | | this.basePORT = UPORT |
| | | const PJO = uni.getStorageSync('PJO'); |
| | | this.baseUrl = PJO |
| | | console.log(this.baseUrl) |
| | | this.getUrl() |
| | | }, |
| | | onLoad() { |
| | |
| | | methods: { |
| | | // 获取url |
| | | getUrl() { |
| | | this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + this.baseUrl |
| | | this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl |
| | | }, |
| | | radioChange(evt) { |
| | | for (let i = 0; i < this.origins.length; i++) { |
| | |
| | | 'token':uni.getStorageSync('token') |
| | | }, |
| | | success(result) { |
| | | console.log(result) |
| | | uni.hideLoading(); |
| | | // uni.vibrateShort(); |
| | | let res = result.data |