Commit 16d042b3 authored by derong.zhang's avatar derong.zhang

修改路径

parent 6770c6ee
import axios from '../services/http.service' import axios from '../services/http.service'
import sapi from '../config/index' import {
sapi
} from '../config'
export function getSoulSoother () { export function getSoulSoother () {
return axios.get(`${sapi}/api/sysStrategy/getTodaySoul`, {headers: { return axios.get(`${sapi}/api/sysStrategy/getTodaySoul`, {headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'
......
import axios from '../services/http.service' import axios from '../services/http.service'
// import { import {
// sapi sapi
// } from '../config' } from '../config'
export function login (data) { export function login (data) {
return axios.post(`/gateway/api/login/doLogin`, data, {headers: { return axios.post(`${sapi}/api/login/doLogin`, data, {headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'
}}) }})
} }
...@@ -13,7 +13,7 @@ export function loginout () { ...@@ -13,7 +13,7 @@ export function loginout () {
}}) }})
} }
export function getmassage () { export function getmassage () {
return axios.get(`/gateway/api/login/me`, {headers: { return axios.get(`${sapi}/api/login/me`, {headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'
}}) }})
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment