军团,创建查询列表,查询个人军团信息

This commit is contained in:
luying
2021-01-19 16:18:45 +08:00
parent 71c5182926
commit ee21a21e80
8 changed files with 220 additions and 97 deletions
+4
View File
@@ -2,6 +2,10 @@
const PER_SECOND = 1 * 1000;
const PER_DAY = 24 * 60 * 60;
export function getSeconds(time: Date) {
return Math.floor(time.getTime() / PER_SECOND);
}
export function nowSeconds() {
return Math.floor(Date.now() / PER_SECOND );
}