chore: use better layout
This commit is contained in:
@@ -16,7 +16,7 @@ impl From<u32> for GetUserRegionApi {
|
||||
#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize, Encode, Decode)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct GetUserRegionApiResp {
|
||||
pub user_id: i64,
|
||||
pub user_id: u32,
|
||||
pub length: i64,
|
||||
pub user_region_list: Vec<UserRegion>,
|
||||
}
|
||||
@@ -24,7 +24,7 @@ pub struct GetUserRegionApiResp {
|
||||
#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize, Encode, Decode)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct UserRegion {
|
||||
pub region_id: i64,
|
||||
pub region_id: u32,
|
||||
pub play_count: i64,
|
||||
pub created: String,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user