no message
This commit is contained in:
parent
2777f4d64a
commit
fa0a95e218
@ -9,7 +9,7 @@ function $ajax(url) {
|
|||||||
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}
|
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}
|
||||||
url = url.indexOf("https://") > -1 ? url : projectBaseURL + url
|
url = url.indexOf("https://") > -1 ? url : projectBaseURL + url
|
||||||
|
|
||||||
data["authorization"] = "813blr43ue2hhf2kjnlfibyy9swlxm2x"
|
// data["authorization"] = "813blr43ue2hhf2kjnlfibyy9swlxm2x"
|
||||||
|
|
||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
axios
|
axios
|
||||||
@ -36,7 +36,7 @@ function $ajax(url) {
|
|||||||
function $ajaxget(url, data) {
|
function $ajaxget(url, data) {
|
||||||
if (!data) data = {}
|
if (!data) data = {}
|
||||||
|
|
||||||
data["authorization"] = "813blr43ue2hhf2kjnlfibyy9swlxm2x"
|
// data["authorization"] = "813blr43ue2hhf2kjnlfibyy9swlxm2x"
|
||||||
|
|
||||||
url = url.indexOf("https://") > -1 ? url : projectBaseURL + url
|
url = url.indexOf("https://") > -1 ? url : projectBaseURL + url
|
||||||
url += objectToQueryString(data)
|
url += objectToQueryString(data)
|
||||||
|
Loading…
Reference in New Issue
Block a user