enhance(server):更新产品数据。
This commit is contained in:
parent
d5e46e186e
commit
2af30101cc
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 struct Product {
|
||||||
pub id: String,
|
pub id: String,
|
||||||
pub name: String,
|
pub name: String,
|
||||||
|
pub couple: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
static PRODUCTS: OnceLock<Vec<Product>> = OnceLock::new();
|
static PRODUCTS: OnceLock<Vec<Product>> = OnceLock::new();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user