12345678910111213141516171819 |
- //import some server backend
- //set app url from env file
- const server_url = "https://thebola.club";
-
- export default class API {
- constructor() {
- this.prefix = server_url;
- this.url = "/api";
- this.test = 200;
- }
-
- listLocation(_page, _pagesize, _callback) {
-
- let url = `${this.prefix}${this.url}/public/event/location?`
-
- console.log(url)
-
- }
- }
|