Changes in my account and order details..

This commit is contained in:
2023-04-27 11:20:16 +05:30
parent 6e1b99ea3a
commit 8938f48ee4
11 changed files with 1084 additions and 323 deletions
+14 -4
View File
@@ -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'
},
}