no message
This commit is contained in:
parent
7a277387f9
commit
ca9a9aab75
@ -1,4 +1,4 @@
|
|||||||
const projectBaseURL = "https://offer.gter.net"
|
const projectBaseURL = "https://project.gter.net/api/"
|
||||||
if (["localhost", "127.0.0.1"].includes(location.hostname)) {
|
if (["localhost", "127.0.0.1"].includes(location.hostname)) {
|
||||||
axios.defaults.headers = {
|
axios.defaults.headers = {
|
||||||
"Authorization": "813blr43ue2hhf2kjnlfibyy9swlxm2x",
|
"Authorization": "813blr43ue2hhf2kjnlfibyy9swlxm2x",
|
||||||
@ -132,7 +132,7 @@ function getBaseData() {
|
|||||||
resolve(basicData)
|
resolve(basicData)
|
||||||
}
|
}
|
||||||
|
|
||||||
$ajaxget("/api/project.home/basicData").then(res => {
|
$ajaxget("/api/home/basicData").then(res => {
|
||||||
if (res.code != 200) return
|
if (res.code != 200) return
|
||||||
const data = res.data
|
const data = res.data
|
||||||
const basicData = {
|
const basicData = {
|
||||||
|
Loading…
Reference in New Issue
Block a user