refactor: 在后端处理字段映射与 invalid 判断 (#367)

This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2025-06-17 13:44:23 +08:00
committed by GitHub
parent bad00af147
commit a35794ed7a
7 changed files with 25 additions and 29 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ pub struct UpsertFavoriteRequest {
#[derive(Deserialize, ToSchema, Validate)]
pub struct UpsertCollectionRequest {
pub id: i64,
pub sid: i64,
pub mid: i64,
#[schema(value_type = i8)]
#[serde(default)]