细节修改

This commit is contained in:
clay 2021-07-19 11:14:17 +08:00
parent cde38e8eb7
commit b6345fb326
6 changed files with 13 additions and 7 deletions

View File

@ -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

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',