feat add http body

This commit is contained in:
brian
2025-09-22 21:58:12 +08:00
parent 6a5a45bf20
commit bf2e1f2af6
5 changed files with 32 additions and 3 deletions

View File

@@ -1,5 +1,12 @@
use serde::{Deserialize, Serialize};
use super::common::{number_stringify, OptionalI64};
#[derive(Serialize, Deserialize)]
pub struct CategoryResp {
pub id: i64,
pub name: String,
pub parent_id: i64,
}
#[derive(Serialize, Deserialize)]
pub struct CategoryInfo {
#[serde(with="number_stringify")]