细节修改
This commit is contained in:
parent
cde38e8eb7
commit
b6345fb326
|
|
@ -2,8 +2,9 @@ import axios from 'axios'
|
|||
// import {getHeaders} from '../utils/token'
|
||||
|
||||
// const baseUrl = 'http://localhost:8083/api/'
|
||||
const baseUrl = 'https://api.tomey.live/api/'
|
||||
// const baseUrl = 'https://api.tomey.live/api/'
|
||||
// const baseUrl = 'http://mytwins.top/api/'
|
||||
const baseUrl = 'https://expapi.odliken.top/api/'
|
||||
class HttpRequest {
|
||||
constructor (baseUrl) {
|
||||
this.baseUrl = baseUrl
|
||||
|
|
|
|||
|
|
@ -71,7 +71,8 @@ export default {
|
|||
if (valid) {
|
||||
// const baseUrl = 'http://localhost:8083/api/'
|
||||
// const baseUrl = 'https://api.tomey.live/api/'
|
||||
const baseUrl = 'http://mytwins.top/api/'
|
||||
const baseUrl = 'https://expapi.odliken.top/api/'
|
||||
// const baseUrl = 'http://mytwins.top/api/'
|
||||
axios({
|
||||
method: 'post',
|
||||
url: baseUrl + 'login',
|
||||
|
|
|
|||
|
|
@ -119,8 +119,9 @@ export default {
|
|||
repassword: this.forgotForm.repassword
|
||||
}
|
||||
// const baseUrl = 'http://localhost:8083/api/'
|
||||
// const baseUrl = 'https://api.tomey.live/api/'
|
||||
const baseUrl = 'http://mytwins.top/api/'
|
||||
// const baseUrl = 'https://api.tomey.live/api/
|
||||
const baseUrl = 'https://expapi.odliken.top/api/'
|
||||
// const baseUrl = 'http://mytwins.top/api/'
|
||||
axios({
|
||||
method: 'post',
|
||||
url: baseUrl + 'forgot',
|
||||
|
|
|
|||
|
|
@ -62,7 +62,8 @@ export default {
|
|||
userLogin (data) {
|
||||
// const baseUrl = 'http://localhost:8083/api/'
|
||||
// const baseUrl = 'https://api.tomey.live/api/'
|
||||
const baseUrl = 'http://mytwins.top/api/'
|
||||
const baseUrl = 'https://expapi.odliken.top/api/'
|
||||
// const baseUrl = 'http://mytwins.top/api/'
|
||||
axios({
|
||||
method: 'post',
|
||||
url: baseUrl + 'login',
|
||||
|
|
|
|||
|
|
@ -145,7 +145,8 @@ export default {
|
|||
if (valid) {
|
||||
// const baseUrl = 'http://localhost:8083/api/'
|
||||
// const baseUrl = 'https://api.tomey.live/api/'
|
||||
const baseUrl = 'http://mytwins.top/api/'
|
||||
const baseUrl = 'https://expapi.odliken.top/api/'
|
||||
// const baseUrl = 'http://mytwins/.top/api/'
|
||||
axios({
|
||||
method: 'post',
|
||||
url: baseUrl + 'register',
|
||||
|
|
|
|||
|
|
@ -70,7 +70,8 @@ export default {
|
|||
console.log(data)
|
||||
// const baseUrl = 'http://localhost:8083/api/'
|
||||
// const baseUrl = 'https://api.tomey.live/api/'
|
||||
const baseUrl = 'http://mytwins.top/api/'
|
||||
const baseUrl = 'https://expapi.odliken.top/api/'
|
||||
// const baseUrl = 'http://mytwins.top/api/'
|
||||
axios({
|
||||
method: 'post',
|
||||
url: baseUrl + 'addcomplaint',
|
||||
|
|
|
|||
Loading…
Reference in New Issue