Sample frame functions

This commit is contained in:
dev-chiefworks
2023-01-11 20:59:06 -05:00
parent 003ce4196d
commit 68eeae2913
2 changed files with 20 additions and 1 deletions
+18 -1
View File
@@ -1,11 +1,28 @@
import React from "react";
import Axios from "axios";
class SiteService {
blogData() {
return this.getAuxEnd("blogdata", null);
}
countryData(){
}
faqData(){
}
getAuxEnd(uri, reqData) {
const endPoint = process.env.REACT_APP_AUX_ENDPOINT + uri;
Axios.get(endPoint).then((response) => {
console.log(response);
res = response;
console.log("~~~~~~~ Toks2 ~~~~~~~~");
return response;
});
}
}
export default SiteService;