Added subscription page

This commit is contained in:
Peng-YM
2020-08-23 00:56:35 +08:00
parent 72bb2f4edb
commit 0a11261eee
17 changed files with 401 additions and 65 deletions

10
web/src/utils/index.js Normal file
View File

@@ -0,0 +1,10 @@
import Axios from 'axios';
export const axios = Axios.create({
// baseURL: 'http://sub.store/api',
baseURL: 'http://127.0.0.1:3000/api',
timeout: 1000
});
export function isEmptyObj(obj) {
return Object.keys(obj).length === 0;
}