enhance(server):更新产品数据。
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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();
|
||||
|
Reference in New Issue
Block a user