enhance(server):更新产品数据。

This commit is contained in:
徐涛 2024-04-07 17:24:34 +08:00
parent d5e46e186e
commit 2af30101cc
2 changed files with 1286 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,7 @@ use tokio::{fs::File, io::AsyncReadExt};
pub struct Product {
pub id: String,
pub name: String,
pub couple: Vec<String>,
}
static PRODUCTS: OnceLock<Vec<Product>> = OnceLock::new();