Changes in my account and order details..
This commit is contained in:
Vendored
+14
-4
@@ -1,5 +1,5 @@
|
||||
//let SERVERNAME = 'https://anwi.bizgaze.app';
|
||||
let SERVERNAME = 'https://beta.bizgaze.app';
|
||||
let SERVERNAME = 'http://beta.bizgaze.com';
|
||||
const STAT = 'b276960fddf84e8cb63de6e32d31529b';
|
||||
|
||||
|
||||
@@ -23,6 +23,16 @@ async function getStatAPIService(url,data={}){
|
||||
return response;
|
||||
}
|
||||
|
||||
async function getStatAPIService(url,data={}){
|
||||
const config = {
|
||||
url,
|
||||
method: "get",
|
||||
};
|
||||
let response = await axios(config);
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
async function postStatAPIService(url,data={}){
|
||||
let config = {
|
||||
url,
|
||||
@@ -45,7 +55,7 @@ async function postAPIService(url,data={}){
|
||||
method:'post',
|
||||
data:data,
|
||||
headers: {
|
||||
'Authorization': `Basic fffe5440-5be6-4c07-876f-113c13de7382`,
|
||||
'Authorization': `Basic b67607dd-283e-478e-b2cf-35736e8bad69`,
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
}
|
||||
@@ -61,7 +71,7 @@ async function postAPIServiceLocal(url,data={}){
|
||||
method:'post',
|
||||
data:JSON.stringify(data ),
|
||||
headers: {
|
||||
'Authorization': `Basic fffe5440-5be6-4c07-876f-113c13de7382`,
|
||||
'Authorization': `Basic b67607dd-283e-478e-b2cf-35736e8bad69`,
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
}
|
||||
@@ -75,7 +85,7 @@ async function getAPIServiceLocal(url){
|
||||
method:'get',
|
||||
|
||||
headers: {
|
||||
'Authorization': `Basic fffe5440-5be6-4c07-876f-113c13de7382`,
|
||||
'Authorization': `Basic b67607dd-283e-478e-b2cf-35736e8bad69`,
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user