feat: impl websocket upload file for doc_info (#20)

This commit is contained in:
Kould
2023-12-29 10:09:23 +08:00
committed by GitHub
parent d0db329fef
commit db8cae3f1e
6 changed files with 126 additions and 12 deletions

View File

@@ -1,6 +1,7 @@
use sea_orm_migration::{ prelude::*, sea_orm::Statement };
use sea_orm_migration::prelude::*;
use chrono::{ FixedOffset, Utc };
#[allow(dead_code)]
fn now() -> chrono::DateTime<FixedOffset> {
Utc::now().with_timezone(&FixedOffset::east_opt(3600 * 8).unwrap())
}