|
@@ -1,6 +1,11 @@
|
|
|
import { Entity, Column } from 'typeorm';
|
|
|
import { BaseModel } from '../../frame/BaseModel';
|
|
|
import dayjs = require('dayjs');
|
|
|
+import tz = require('dayjs/plugin/timezone');
|
|
|
+import utc = require('dayjs/plugin/utc')
|
|
|
+dayjs.extend(utc)
|
|
|
+dayjs.extend(tz)
|
|
|
+dayjs.tz.setDefault("Asia/Shanghai")
|
|
|
/**
|
|
|
* 选手状态"
|
|
|
* 0:待审核: 报名阶段: 报名信息审核中; 初赛阶段:进入初赛,但没有开始比赛; 决赛阶段: 进入决赛,但未确认是否参加决赛;
|