2023-04-02

Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
2023-04-02 21:52:43 +08:00
parent db04212b56
commit 5c80954246
45 changed files with 9868 additions and 128758 deletions
+33 -5
View File
@@ -82,8 +82,8 @@ type UnitAllResp struct {
// module: unit, action: deckInfo
type UnitOwningUserIds struct {
Position int `json:"position"`
UnitOwningUserID int64 `json:"unit_owning_user_id"`
Position int `json:"position"`
UnitOwningUserID int `json:"unit_owning_user_id"`
}
type UnitDeckInfo struct {
@@ -93,8 +93,11 @@ type UnitDeckInfo struct {
UnitOwningUserIds []UnitOwningUserIds `json:"unit_owning_user_ids"`
}
type UnitDeckInfoResult struct {
UnitDeckInfo []UnitDeckInfo
type UnitDeckInfoResp struct {
Result []UnitDeckInfo `json:"result"`
Status int `json:"status"`
CommandNum bool `json:"commandNum"`
TimeStamp int64 `json:"timeStamp"`
}
// module: unit, action: supporterAll
@@ -103,8 +106,33 @@ type UnitSupportList struct {
Amount int `json:"amount"`
}
type UnitSupporterAllResult struct {
type UnitSupportResult struct {
UnitSupportList []UnitSupportList `json:"unit_support_list"`
}
type UnitSupportResp struct {
Result UnitSupportResult `json:"result"`
Status int `json:"status"`
CommandNum bool `json:"commandNum"`
TimeStamp int64 `json:"timeStamp"`
}
// module: unit, action: removableSkillInfo
type OwningInfo struct {
UnitRemovableSkillID int `json:"unit_removable_skill_id"`
TotalAmount int `json:"total_amount"`
EquippedAmount int `json:"equipped_amount"`
InsertDate string `json:"insert_date"`
}
type RemovableSkillResult struct {
OwningInfo []OwningInfo `json:"owning_info"`
EquipmentInfo []interface{} `json:"equipment_info"`
}
type RemovableSkillResp struct {
Result RemovableSkillResult `json:"result"`
Status int `json:"status"`
CommandNum bool `json:"commandNum"`
TimeStamp int64 `json:"timeStamp"`
}