gofmt: Replace interface{} with any

Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
2023-06-20 09:08:42 +08:00
parent 43edc4f346
commit 0d56db2dcb
59 changed files with 601 additions and 601 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ func AlbumSeriesAll(ctx *gin.Context) {
albumResp := model.AlbumSeriesResp{ albumResp := model.AlbumSeriesResp{
ResponseData: albumSeriesAllRes, ResponseData: albumSeriesAllRes,
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(albumResp) resp, err := json.Marshal(albumResp)
+66 -66
View File
@@ -86,13 +86,13 @@ func AsGetPackUrl(ctx *gin.Context) {
} }
// fmt.Println(req) // fmt.Println(req)
packBody, ok := req[0].(map[string]interface{}) packBody, ok := req[0].(map[string]any)
if !ok { if !ok {
panic("Assertion failed!") panic("Assertion failed!")
} }
// fmt.Println(packBody) // fmt.Println(packBody)
packNames, ok := packBody["pack_names"].([]interface{}) packNames, ok := packBody["pack_names"].([]any)
if !ok { if !ok {
panic("Assertion failed!") panic("Assertion failed!")
} }
@@ -210,7 +210,7 @@ func AsLiveMvSaveDeck(ctx *gin.Context) {
panic(err) panic(err)
} }
body, ok := req[0].(map[string]interface{}) body, ok := req[0].(map[string]any)
if !ok { if !ok {
panic("Assertion failed!") panic("Assertion failed!")
} }
@@ -338,65 +338,65 @@ func AsLiveMvSaveDeck(ctx *gin.Context) {
UserModel: model.UserModel{ UserModel: model.UserModel{
UserStatus: CommonUserStatus(), UserStatus: CommonUserStatus(),
UserMemberByMemberID: userMemberByMemberID, UserMemberByMemberID: userMemberByMemberID,
UserCardByCardID: []interface{}{}, UserCardByCardID: []any{},
UserSuitBySuitID: []interface{}{}, UserSuitBySuitID: []any{},
UserLiveDeckByID: []interface{}{}, UserLiveDeckByID: []any{},
UserLivePartyByID: []interface{}{}, UserLivePartyByID: []any{},
UserLessonDeckByID: []interface{}{}, UserLessonDeckByID: []any{},
UserLiveMvDeckByID: []interface{}{}, UserLiveMvDeckByID: []any{},
UserLiveMvDeckCustomByID: userLiveMvDeckCustomByID, UserLiveMvDeckCustomByID: userLiveMvDeckCustomByID,
UserLiveDifficultyByDifficultyID: []interface{}{}, UserLiveDifficultyByDifficultyID: []any{},
UserStoryMainByStoryMainID: []interface{}{}, UserStoryMainByStoryMainID: []any{},
UserStoryMainSelectedByStoryMainCellID: []interface{}{}, UserStoryMainSelectedByStoryMainCellID: []any{},
UserVoiceByVoiceID: []interface{}{}, UserVoiceByVoiceID: []any{},
UserEmblemByEmblemID: []interface{}{}, UserEmblemByEmblemID: []any{},
UserGachaTicketByTicketID: []interface{}{}, UserGachaTicketByTicketID: []any{},
UserGachaPointByPointID: []interface{}{}, UserGachaPointByPointID: []any{},
UserLessonEnhancingItemByItemID: []interface{}{}, UserLessonEnhancingItemByItemID: []any{},
UserTrainingMaterialByItemID: []interface{}{}, UserTrainingMaterialByItemID: []any{},
UserGradeUpItemByItemID: []interface{}{}, UserGradeUpItemByItemID: []any{},
UserCustomBackgroundByID: []interface{}{}, UserCustomBackgroundByID: []any{},
UserStorySideByID: []interface{}{}, UserStorySideByID: []any{},
UserStoryMemberByID: []interface{}{}, UserStoryMemberByID: []any{},
UserCommunicationMemberDetailBadgeByID: []interface{}{}, UserCommunicationMemberDetailBadgeByID: []any{},
UserStoryEventHistoryByID: []interface{}{}, UserStoryEventHistoryByID: []any{},
UserRecoveryLpByID: []interface{}{}, UserRecoveryLpByID: []any{},
UserRecoveryApByID: []interface{}{}, UserRecoveryApByID: []any{},
UserMissionByMissionID: []interface{}{}, UserMissionByMissionID: []any{},
UserDailyMissionByMissionID: []interface{}{}, UserDailyMissionByMissionID: []any{},
UserWeeklyMissionByMissionID: []interface{}{}, UserWeeklyMissionByMissionID: []any{},
UserInfoTriggerBasicByTriggerID: []interface{}{}, UserInfoTriggerBasicByTriggerID: []any{},
UserInfoTriggerCardGradeUpByTriggerID: []interface{}{}, UserInfoTriggerCardGradeUpByTriggerID: []any{},
UserInfoTriggerMemberGuildSupportItemExpiredByTriggerID: []interface{}{}, UserInfoTriggerMemberGuildSupportItemExpiredByTriggerID: []any{},
UserInfoTriggerMemberLoveLevelUpByTriggerID: []interface{}{}, UserInfoTriggerMemberLoveLevelUpByTriggerID: []any{},
UserAccessoryByUserAccessoryID: []interface{}{}, UserAccessoryByUserAccessoryID: []any{},
UserAccessoryLevelUpItemByID: []interface{}{}, UserAccessoryLevelUpItemByID: []any{},
UserAccessoryRarityUpItemByID: []interface{}{}, UserAccessoryRarityUpItemByID: []any{},
UserUnlockScenesByEnum: []interface{}{}, UserUnlockScenesByEnum: []any{},
UserSceneTipsByEnum: []interface{}{}, UserSceneTipsByEnum: []any{},
UserRuleDescriptionByID: []interface{}{}, UserRuleDescriptionByID: []any{},
UserExchangeEventPointByID: []interface{}{}, UserExchangeEventPointByID: []any{},
UserSchoolIdolFestivalIDRewardMissionByID: []interface{}{}, UserSchoolIdolFestivalIDRewardMissionByID: []any{},
UserGpsPresentReceivedByID: []interface{}{}, UserGpsPresentReceivedByID: []any{},
UserEventMarathonByEventMasterID: []interface{}{}, UserEventMarathonByEventMasterID: []any{},
UserEventMiningByEventMasterID: []interface{}{}, UserEventMiningByEventMasterID: []any{},
UserEventCoopByEventMasterID: []interface{}{}, UserEventCoopByEventMasterID: []any{},
UserLiveSkipTicketByID: []interface{}{}, UserLiveSkipTicketByID: []any{},
UserStoryEventUnlockItemByID: []interface{}{}, UserStoryEventUnlockItemByID: []any{},
UserEventMarathonBoosterByID: []interface{}{}, UserEventMarathonBoosterByID: []any{},
UserReferenceBookByID: []interface{}{}, UserReferenceBookByID: []any{},
UserReviewRequestProcessFlowByID: []interface{}{}, UserReviewRequestProcessFlowByID: []any{},
UserRankExpByID: []interface{}{}, UserRankExpByID: []any{},
UserShareByID: []interface{}{}, UserShareByID: []any{},
UserTowerByTowerID: []interface{}{}, UserTowerByTowerID: []any{},
UserRecoveryTowerCardUsedCountItemByRecoveryTowerCardUsedCountItemMasterID: []interface{}{}, UserRecoveryTowerCardUsedCountItemByRecoveryTowerCardUsedCountItemMasterID: []any{},
UserStoryLinkageByID: []interface{}{}, UserStoryLinkageByID: []any{},
UserSubscriptionStatusByID: []interface{}{}, UserSubscriptionStatusByID: []any{},
UserStoryMainPartDigestMovieByID: []interface{}{}, UserStoryMainPartDigestMovieByID: []any{},
UserMemberGuildByID: []interface{}{}, UserMemberGuildByID: []any{},
UserMemberGuildSupportItemByID: []interface{}{}, UserMemberGuildSupportItemByID: []any{},
UserDailyTheaterByDailyTheaterID: []interface{}{}, UserDailyTheaterByDailyTheaterID: []any{},
UserPlayListByID: []interface{}{}, UserPlayListByID: []any{},
}, },
} }
respB, err := json.Marshal(saveResp) respB, err := json.Marshal(saveResp)
@@ -451,7 +451,7 @@ func AsUpdateUserCommunicationMemberDetailBadge(ctx *gin.Context) {
return true return true
}) })
userDetail := []interface{}{} userDetail := []any{}
userDetail = append(userDetail, memberMasterId) userDetail = append(userDetail, memberMasterId)
userDetail = append(userDetail, model.UserCommunicationMemberDetailBadgeByID{ userDetail = append(userDetail, model.UserCommunicationMemberDetailBadgeByID{
MemberMasterID: int(memberMasterId), MemberMasterID: int(memberMasterId),
@@ -807,12 +807,12 @@ func AsLiveStart(ctx *gin.Context) {
panic("歌曲情报信息不存在!") panic("歌曲情报信息不存在!")
} }
var liveNotesRes map[string]interface{} var liveNotesRes map[string]any
if err = json.Unmarshal([]byte(liveNotes), &liveNotesRes); err != nil { if err = json.Unmarshal([]byte(liveNotes), &liveNotesRes); err != nil {
panic(err) panic(err)
} }
var partnerInfo map[string]interface{} var partnerInfo map[string]any
if err = json.Unmarshal([]byte(cardInfo), &partnerInfo); err != nil { if err = json.Unmarshal([]byte(cardInfo), &partnerInfo); err != nil {
panic(err) panic(err)
} }
@@ -948,7 +948,7 @@ func AsGetOtherUserCard(ctx *gin.Context) {
return true return true
}) })
var userCardInfo map[string]interface{} var userCardInfo map[string]any
if err := json.Unmarshal([]byte(cardInfo), &userCardInfo); err != nil { if err := json.Unmarshal([]byte(cardInfo), &userCardInfo); err != nil {
panic(err) panic(err)
} }
@@ -999,7 +999,7 @@ func AsChangeIsAwakeningImage(ctx *gin.Context) {
return true return true
}) })
userCardInfo := []interface{}{} userCardInfo := []any{}
userCardInfo = append(userCardInfo, cardInfo.CardMasterID) userCardInfo = append(userCardInfo, cardInfo.CardMasterID)
userCardInfo = append(userCardInfo, cardInfo) userCardInfo = append(userCardInfo, cardInfo)
+1 -1
View File
@@ -26,7 +26,7 @@ func AnnounceCheckState(ctx *gin.Context) {
HasUnreadAnnounce: false, HasUnreadAnnounce: false,
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(announceResp) resp, err := json.Marshal(announceResp)
+22 -22
View File
@@ -45,7 +45,7 @@ func Api(ctx *gin.Context) {
fmt.Println(err) fmt.Println(err)
return return
} }
results := []interface{}{} results := []any{}
for _, v := range apiReq { for _, v := range apiReq {
var res []byte var res []byte
var err error var err error
@@ -72,12 +72,12 @@ func Api(ctx *gin.Context) {
FriendsRequestCnt: 0, FriendsRequestCnt: 0,
IsTodayBirthday: false, IsTodayBirthday: false,
LicenseInfo: model.TopInfoLicenseInfo{ LicenseInfo: model.TopInfoLicenseInfo{
LicenseList: []interface{}{}, LicenseList: []any{},
LicensedInfo: []interface{}{}, LicensedInfo: []any{},
ExpiredInfo: []interface{}{}, ExpiredInfo: []any{},
BadgeFlag: false, BadgeFlag: false,
}, },
UsingBuffInfo: []interface{}{}, UsingBuffInfo: []any{},
IsKlabIDTaskFlag: false, IsKlabIDTaskFlag: false,
KlabIDTaskCanSync: false, KlabIDTaskCanSync: false,
HasUnreadAnnounce: false, HasUnreadAnnounce: false,
@@ -163,8 +163,8 @@ func Api(ctx *gin.Context) {
NormalLiveStatusList: normalLives, NormalLiveStatusList: normalLives,
SpecialLiveStatusList: specialLives, SpecialLiveStatusList: specialLives,
TrainingLiveStatusList: []model.TrainingLiveStatusList{}, TrainingLiveStatusList: []model.TrainingLiveStatusList{},
MarathonLiveStatusList: []interface{}{}, MarathonLiveStatusList: []any{},
FreeLiveStatusList: []interface{}{}, FreeLiveStatusList: []any{},
CanResumeLive: false, CanResumeLive: false,
}, },
Status: 200, Status: 200,
@@ -202,12 +202,12 @@ func Api(ctx *gin.Context) {
} }
liveListResp := model.LiveScheduleResp{ liveListResp := model.LiveScheduleResp{
Result: model.LiveScheduleRes{ Result: model.LiveScheduleRes{
EventList: []interface{}{}, EventList: []any{},
LiveList: livesList, LiveList: livesList,
LimitedBonusList: []interface{}{}, LimitedBonusList: []any{},
LimitedBonusCommonList: []model.LimitedBonusCommonList{}, // 特效道具 LimitedBonusCommonList: []model.LimitedBonusCommonList{}, // 特效道具
RandomLiveList: []model.RandomLiveList{}, // 随机歌曲 RandomLiveList: []model.RandomLiveList{}, // 随机歌曲
FreeLiveList: []interface{}{}, FreeLiveList: []any{},
TrainingLiveList: []model.TrainingLiveList{}, // 挑战歌曲 TrainingLiveList: []model.TrainingLiveList{}, // 挑战歌曲
}, },
Status: 200, Status: 200,
@@ -328,7 +328,7 @@ func Api(ctx *gin.Context) {
err = UserEng.Table("skill_equip_m").Where("user_id = ?", ctx.GetString("userid")).Cols("unit_owning_user_id").GroupBy("unit_owning_user_id").Find(&unitOwningIds) err = UserEng.Table("skill_equip_m").Where("user_id = ?", ctx.GetString("userid")).Cols("unit_owning_user_id").GroupBy("unit_owning_user_id").Find(&unitOwningIds)
CheckErr(err) CheckErr(err)
equipInfo := map[int]interface{}{} equipInfo := map[int]any{}
for _, v := range unitOwningIds { for _, v := range unitOwningIds {
detail := []model.SkillEquipDetail{} detail := []model.SkillEquipDetail{}
err = UserEng.Table("skill_equip_m").Where("user_id = ? AND unit_owning_user_id = ?", ctx.GetString("userid"), v). err = UserEng.Table("skill_equip_m").Where("user_id = ? AND unit_owning_user_id = ?", ctx.GetString("userid"), v).
@@ -482,7 +482,7 @@ func Api(ctx *gin.Context) {
subScenarioResp := model.SubscenarioStatusResp{ subScenarioResp := model.SubscenarioStatusResp{
Result: model.SubscenarioStatusRes{ Result: model.SubscenarioStatusRes{
SubscenarioStatusList: subScenarioLists, SubscenarioStatusList: subScenarioLists,
UnlockedSubscenarioIds: []interface{}{}, UnlockedSubscenarioIds: []any{},
}, },
Status: 200, Status: 200,
CommandNum: false, CommandNum: false,
@@ -575,7 +575,7 @@ func Api(ctx *gin.Context) {
unitsResp := model.MultiUnitScenarioStatusResp{ unitsResp := model.MultiUnitScenarioStatusResp{
Result: model.MultiUnitScenarioStatusRes{ Result: model.MultiUnitScenarioStatusRes{
MultiUnitScenarioStatusList: multiUnitsList, MultiUnitScenarioStatusList: multiUnitsList,
UnlockedMultiUnitScenarioIds: []interface{}{}, UnlockedMultiUnitScenarioIds: []any{},
}, },
Status: 200, Status: 200,
CommandNum: false, CommandNum: false,
@@ -648,7 +648,7 @@ func Api(ctx *gin.Context) {
marqueeResp := model.NoticeMarqueeResp{ marqueeResp := model.NoticeMarqueeResp{
Result: model.NoticeMarqueeRes{ Result: model.NoticeMarqueeRes{
ItemCount: 0, ItemCount: 0,
MarqueeList: []interface{}{}, MarqueeList: []any{},
}, },
Status: 200, Status: 200,
CommandNum: false, CommandNum: false,
@@ -678,7 +678,7 @@ func Api(ctx *gin.Context) {
// key = "special_cutin_result" // key = "special_cutin_result"
cutinResp := model.SpecialCutinResp{ cutinResp := model.SpecialCutinResp{
Result: model.SpecialCutinRes{ Result: model.SpecialCutinRes{
SpecialCutinList: []interface{}{}, SpecialCutinList: []any{},
}, },
Status: 200, Status: 200,
CommandNum: false, CommandNum: false,
@@ -753,7 +753,7 @@ func Api(ctx *gin.Context) {
case "stamp": case "stamp":
// key = "stamp_result" // key = "stamp_result"
stampResp := utils.ReadAllText("assets/sif/stamp.json") stampResp := utils.ReadAllText("assets/sif/stamp.json")
var mStampResp interface{} var mStampResp any
err = json.Unmarshal([]byte(stampResp), &mStampResp) err = json.Unmarshal([]byte(stampResp), &mStampResp)
CheckErr(err) CheckErr(err)
res, err = json.Marshal(mStampResp) res, err = json.Marshal(mStampResp)
@@ -807,7 +807,7 @@ func Api(ctx *gin.Context) {
case "item": case "item":
// key = "item_list_result" // key = "item_list_result"
itemResp := utils.ReadAllText("assets/sif/item.json") itemResp := utils.ReadAllText("assets/sif/item.json")
var mItemResp interface{} var mItemResp any
err = json.Unmarshal([]byte(itemResp), &mItemResp) err = json.Unmarshal([]byte(itemResp), &mItemResp)
CheckErr(err) CheckErr(err)
res, err = json.Marshal(mItemResp) res, err = json.Marshal(mItemResp)
@@ -815,7 +815,7 @@ func Api(ctx *gin.Context) {
case "marathon": case "marathon":
// key = "marathon_result" // key = "marathon_result"
marathonResp := model.MarathonInfoResp{ marathonResp := model.MarathonInfoResp{
Result: []interface{}{}, Result: []any{},
Status: 200, Status: 200,
CommandNum: false, CommandNum: false,
TimeStamp: time.Now().Unix(), TimeStamp: time.Now().Unix(),
@@ -825,7 +825,7 @@ func Api(ctx *gin.Context) {
case "challenge": case "challenge":
// key = "challenge_result" // key = "challenge_result"
challengeResp := model.ChallengeInfoResp{ challengeResp := model.ChallengeInfoResp{
Result: []interface{}{}, Result: []any{},
Status: 200, Status: 200,
CommandNum: false, CommandNum: false,
TimeStamp: time.Now().Unix(), TimeStamp: time.Now().Unix(),
@@ -897,7 +897,7 @@ func Api(ctx *gin.Context) {
CheckErr(err) CheckErr(err)
} else if v.Action == "cardRanking" { } else if v.Action == "cardRanking" {
// key = "profile_card_ranking_result" // key = "profile_card_ranking_result"
var result []interface{} var result []any
love := utils.ReadAllText("assets/sif/love.json") love := utils.ReadAllText("assets/sif/love.json")
err := json.Unmarshal([]byte(love), &result) err := json.Unmarshal([]byte(love), &result)
CheckErr(err) CheckErr(err)
@@ -1076,7 +1076,7 @@ func Api(ctx *gin.Context) {
CheckErr(err) CheckErr(err)
} }
var result interface{} var result any
err = json.Unmarshal([]byte(res), &result) err = json.Unmarshal([]byte(res), &result)
CheckErr(err) CheckErr(err)
results = append(results, result) results = append(results, result)
@@ -1086,7 +1086,7 @@ func Api(ctx *gin.Context) {
CheckErr(err) CheckErr(err)
rp := model.ApiResp{ rp := model.ApiResp{
ResponseData: b, ResponseData: b,
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
b, err = json.Marshal(rp) b, err = json.Marshal(rp)
+2 -2
View File
@@ -22,8 +22,8 @@ func AwardSet(ctx *gin.Context) {
_, err := UserEng.Table("user_preference_m").Where("user_id = ?", ctx.GetString("userid")).Update(&pref) _, err := UserEng.Table("user_preference_m").Where("user_id = ?", ctx.GetString("userid")).Update(&pref)
CheckErr(err) CheckErr(err)
awardResp := model.AwardSetResp{ awardResp := model.AwardSetResp{
ResponseData: []interface{}{}, ResponseData: []any{},
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(awardResp) resp, err := json.Marshal(awardResp)
+2 -2
View File
@@ -22,8 +22,8 @@ func BackgroundSet(ctx *gin.Context) {
_, err := UserEng.Table("user_preference_m").Where("user_id = ?", ctx.GetString("userid")).Update(&pref) _, err := UserEng.Table("user_preference_m").Where("user_id = ?", ctx.GetString("userid")).Update(&pref)
CheckErr(err) CheckErr(err)
backgroundResp := model.BackgroundSetResp{ backgroundResp := model.BackgroundSetResp{
ResponseData: []interface{}{}, ResponseData: []any{},
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(backgroundResp) resp, err := json.Marshal(backgroundResp)
+6 -6
View File
@@ -45,7 +45,7 @@ func DownloadAdditional(ctx *gin.Context) {
addResp := model.AdditionalResp{ addResp := model.AdditionalResp{
ResponseData: pkgList, ResponseData: pkgList,
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(addResp) resp, err := json.Marshal(addResp)
@@ -85,7 +85,7 @@ func DownloadBatch(ctx *gin.Context) {
batchResp := model.BatchResp{ batchResp := model.BatchResp{
ResponseData: pkgList, ResponseData: pkgList,
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(batchResp) resp, err := json.Marshal(batchResp)
@@ -126,7 +126,7 @@ func DownloadUpdate(ctx *gin.Context) {
updateResp := model.UpdateResp{ updateResp := model.UpdateResp{
ResponseData: pkgList, ResponseData: pkgList,
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(updateResp) resp, err := json.Marshal(updateResp)
@@ -157,7 +157,7 @@ func DownloadUrl(ctx *gin.Context) {
ResponseData: model.UrlRes{ ResponseData: model.UrlRes{
UrlList: urlList, UrlList: urlList,
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(urlResp) resp, err := json.Marshal(urlResp)
@@ -175,8 +175,8 @@ func DownloadUrl(ctx *gin.Context) {
func DownloadEvent(ctx *gin.Context) { func DownloadEvent(ctx *gin.Context) {
eventResp := model.EventResp{ eventResp := model.EventResp{
ResponseData: []interface{}{}, ResponseData: []any{},
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(eventResp) resp, err := json.Marshal(eventResp)
+1 -1
View File
@@ -25,7 +25,7 @@ func EventList(ctx *gin.Context) {
TargetList: targets, TargetList: targets,
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(eventsResp) resp, err := json.Marshal(eventsResp)
+1 -1
View File
@@ -19,7 +19,7 @@ func Gdpr(ctx *gin.Context) {
IsEea: false, IsEea: false,
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(gdprResp) resp, err := json.Marshal(gdprResp)
+2 -2
View File
@@ -53,8 +53,8 @@ func SignResp(ep, body, key string) (resp string) {
return return
} }
func GetUserStatus() map[string]interface{} { func GetUserStatus() map[string]any {
var r map[string]interface{} var r map[string]any
if err := json.Unmarshal([]byte(utils.ReadAllText("assets/as/userStatus.json")), &r); err != nil { if err := json.Unmarshal([]byte(utils.ReadAllText("assets/as/userStatus.json")), &r); err != nil {
panic(err) panic(err)
} }
+5 -5
View File
@@ -95,7 +95,7 @@ func LBonusExecute(ctx *gin.Context) {
LbRes := model.LbResp{ LbRes := model.LbResp{
ResponseData: model.LbRes{ ResponseData: model.LbRes{
Sheets: []interface{}{}, Sheets: []any{},
CalendarInfo: model.CalendarInfo{ CalendarInfo: model.CalendarInfo{
CurrentDate: time.Now().Format("2006-01-02 03:04:05"), CurrentDate: time.Now().Format("2006-01-02 03:04:05"),
CurrentMonth: model.LbMonth{ CurrentMonth: model.LbMonth{
@@ -120,7 +120,7 @@ func LBonusExecute(ctx *gin.Context) {
}, },
}, },
}, },
LicenseLbonusList: []interface{}{}, LicenseLbonusList: []any{},
ClassSystem: model.LbClassSystem{ ClassSystem: model.LbClassSystem{
RankInfo: model.LbRankInfo{ RankInfo: model.LbRankInfo{
BeforeClassRankID: 10, BeforeClassRankID: 10,
@@ -131,7 +131,7 @@ func LBonusExecute(ctx *gin.Context) {
IsOpened: true, IsOpened: true,
IsVisible: true, IsVisible: true,
}, },
StartDashSheets: []interface{}{}, StartDashSheets: []any{},
EffortPoint: []model.EffortPoint{ EffortPoint: []model.EffortPoint{
{ {
LiveEffortPointBoxSpecID: 5, LiveEffortPointBoxSpecID: 5,
@@ -141,12 +141,12 @@ func LBonusExecute(ctx *gin.Context) {
Rewards: []model.Rewards{}, Rewards: []model.Rewards{},
}, },
}, },
LimitedEffortBox: []interface{}{}, LimitedEffortBox: []any{},
MuseumInfo: model.Museum{}, MuseumInfo: model.Museum{},
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
PresentCnt: 0, PresentCnt: 0,
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
+16 -16
View File
@@ -408,7 +408,7 @@ func PlayLive(ctx *gin.Context) {
CanActivateEffect: true, CanActivateEffect: true,
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
@@ -427,8 +427,8 @@ func PlayLive(ctx *gin.Context) {
func GameOver(ctx *gin.Context) { func GameOver(ctx *gin.Context) {
overResp := model.GameOverResp{ overResp := model.GameOverResp{
ResponseData: []interface{}{}, ResponseData: []any{},
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(overResp) resp, err := json.Marshal(overResp)
@@ -519,7 +519,7 @@ func PlayScore(ctx *gin.Context) {
CanActivateEffect: true, CanActivateEffect: true,
ServerTimestamp: int(time.Now().Unix()), ServerTimestamp: int(time.Now().Unix()),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
@@ -593,13 +593,13 @@ func PlayReward(ctx *gin.Context) {
RewardUnitList: model.RewardUnitList{ RewardUnitList: model.RewardUnitList{
LiveClear: []model.LiveClear{}, LiveClear: []model.LiveClear{},
LiveRank: []model.LiveRank{}, LiveRank: []model.LiveRank{},
LiveCombo: []interface{}{}, LiveCombo: []any{},
}, },
UnlockedSubscenarioIds: []interface{}{}, UnlockedSubscenarioIds: []any{},
UnlockedMultiUnitScenarioIds: []interface{}{}, UnlockedMultiUnitScenarioIds: []any{},
EffortPoint: []model.EffortPoint{}, EffortPoint: []model.EffortPoint{},
IsEffortPointVisible: false, IsEffortPointVisible: false,
LimitedEffortBox: []interface{}{}, LimitedEffortBox: []any{},
UnitList: unitsList, UnitList: unitsList,
BeforeUserInfo: model.BeforeUserInfo{ BeforeUserInfo: model.BeforeUserInfo{
Level: 1028, Level: 1028,
@@ -656,14 +656,14 @@ func PlayReward(ctx *gin.Context) {
}, },
}, },
GoalAccompInfo: model.GoalAccompInfo{ GoalAccompInfo: model.GoalAccompInfo{
AchievedIds: []interface{}{}, AchievedIds: []any{},
Rewards: []interface{}{}, Rewards: []any{},
}, },
SpecialRewardInfo: []interface{}{}, SpecialRewardInfo: []any{},
EventInfo: []interface{}{}, EventInfo: []any{},
DailyRewardInfo: []interface{}{}, DailyRewardInfo: []any{},
CanSendFriendRequest: false, CanSendFriendRequest: false,
UsingBuffInfo: []interface{}{}, UsingBuffInfo: []any{},
ClassSystem: model.ClassSystem{ ClassSystem: model.ClassSystem{
RankInfo: model.RewardRankInfo{ RankInfo: model.RewardRankInfo{
BeforeClassRankID: 10, BeforeClassRankID: 10,
@@ -676,13 +676,13 @@ func PlayReward(ctx *gin.Context) {
}, },
AccomplishedAchievementList: []model.AccomplishedAchievementList{}, AccomplishedAchievementList: []model.AccomplishedAchievementList{},
UnaccomplishedAchievementCnt: 15, UnaccomplishedAchievementCnt: 15,
AddedAchievementList: []interface{}{}, AddedAchievementList: []any{},
MuseumInfo: model.Museum{}, MuseumInfo: model.Museum{},
UnitSupportList: []model.RewardUnitSupportList{}, UnitSupportList: []model.RewardUnitSupportList{},
ServerTimestamp: 1679238066, ServerTimestamp: 1679238066,
PresentCnt: 2159, PresentCnt: 2159,
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
+2 -2
View File
@@ -20,7 +20,7 @@ func AuthKey(ctx *gin.Context) {
AuthorizeToken: ctx.GetString("authorize_token"), AuthorizeToken: ctx.GetString("authorize_token"),
DummyToken: ctx.GetString("dummy_token"), DummyToken: ctx.GetString("dummy_token"),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(authResp) resp, err := json.Marshal(authResp)
@@ -54,7 +54,7 @@ func Login(ctx *gin.Context) {
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
AdultFlag: 2, AdultFlag: 2,
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(loginResp) resp, err := json.Marshal(loginResp)
+1 -1
View File
@@ -23,7 +23,7 @@ func MultiUnitStartUp(ctx *gin.Context) {
ScenarioAdjustment: 50, ScenarioAdjustment: 50,
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(startResp) resp, err := json.Marshal(startResp)
+1 -1
View File
@@ -43,7 +43,7 @@ func MuseumInfo(ctx *gin.Context) {
}, },
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(museumResp) resp, err := json.Marshal(museumResp)
+6 -6
View File
@@ -16,10 +16,10 @@ func NoticeFriendVariety(ctx *gin.Context) {
noticeResp := model.NoticeFriendVarietyResp{ noticeResp := model.NoticeFriendVarietyResp{
ResponseData: model.NoticeFriendVarietyRes{ ResponseData: model.NoticeFriendVarietyRes{
ItemCount: 1, ItemCount: 1,
NoticeList: []interface{}{}, NoticeList: []any{},
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(noticeResp) resp, err := json.Marshal(noticeResp)
@@ -39,10 +39,10 @@ func NoticeFriendGreeting(ctx *gin.Context) {
noticeResp := model.NoticeFriendGreetingResp{ noticeResp := model.NoticeFriendGreetingResp{
ResponseData: model.NoticeFriendGreetingRes{ ResponseData: model.NoticeFriendGreetingRes{
NextId: 0, NextId: 0,
NoticeList: []interface{}{}, NoticeList: []any{},
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(noticeResp) resp, err := json.Marshal(noticeResp)
@@ -63,10 +63,10 @@ func NoticeUserGreeting(ctx *gin.Context) {
ResponseData: model.NoticeUserGreetingRes{ ResponseData: model.NoticeUserGreetingRes{
ItemCount: 0, ItemCount: 0,
HasNext: false, HasNext: false,
NoticeList: []interface{}{}, NoticeList: []any{},
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(noticeResp) resp, err := json.Marshal(noticeResp)
+4 -4
View File
@@ -24,13 +24,13 @@ func ProductList(ctx *gin.Context) {
LimitAmount: nil, LimitAmount: nil,
MonthUsed: 0, MonthUsed: 0,
}, },
SnsProductList: []interface{}{}, SnsProductList: []any{},
ProductList: []interface{}{}, ProductList: []any{},
SubscriptionList: []interface{}{}, SubscriptionList: []any{},
ShowPointShop: true, ShowPointShop: true,
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(prodReesp) resp, err := json.Marshal(prodReesp)
+1 -1
View File
@@ -22,7 +22,7 @@ func PersonalNotice(ctx *gin.Context) {
Contents: "", Contents: "",
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(noticeResp) resp, err := json.Marshal(noticeResp)
+32 -32
View File
@@ -54,37 +54,37 @@ type LoginAutoResp struct {
} }
type InitializeResp struct { type InitializeResp struct {
BrandLogo string `json:"brand_logo"` BrandLogo string `json:"brand_logo"`
BrandName string `json:"brand_name"` BrandName string `json:"brand_name"`
DaoyuClientid string `json:"daoyu_clientid"` DaoyuClientid string `json:"daoyu_clientid"`
DaoyuDownloadURL string `json:"daoyu_download_url"` DaoyuDownloadURL string `json:"daoyu_download_url"`
DeviceFeature string `json:"device_feature"` DeviceFeature string `json:"device_feature"`
DisplayThirdaccout int `json:"display_thirdaccout"` DisplayThirdaccout int `json:"display_thirdaccout"`
ForceShowAgreement int `json:"force_show_agreement"` ForceShowAgreement int `json:"force_show_agreement"`
GreportLogLevel string `json:"greport_log_level"` GreportLogLevel string `json:"greport_log_level"`
GuestEnable int `json:"guest_enable"` GuestEnable int `json:"guest_enable"`
IsMatch int `json:"is_match"` IsMatch int `json:"is_match"`
LogLevel string `json:"log_level"` LogLevel string `json:"log_level"`
LoginButton []string `json:"login_button"` LoginButton []string `json:"login_button"`
LoginIcon []interface{} `json:"login_icon"` LoginIcon []any `json:"login_icon"`
LoginLimitEnable int `json:"login_limit_enable"` LoginLimitEnable int `json:"login_limit_enable"`
NeedFloatWindowPermission int `json:"need_float_window_permission"` NeedFloatWindowPermission int `json:"need_float_window_permission"`
NewDeviceIDServer string `json:"new_device_id_server"` NewDeviceIDServer string `json:"new_device_id_server"`
QqAppID string `json:"qq_appId"` QqAppID string `json:"qq_appId"`
QqKey string `json:"qq_key"` QqKey string `json:"qq_key"`
ShowGuestConfirm int `json:"show_guest_confirm"` ShowGuestConfirm int `json:"show_guest_confirm"`
VoicetipButton int `json:"voicetip_button"` VoicetipButton int `json:"voicetip_button"`
VoicetipOne string `json:"voicetip_one"` VoicetipOne string `json:"voicetip_one"`
VoicetipTwo string `json:"voicetip_two"` VoicetipTwo string `json:"voicetip_two"`
WegameAppid string `json:"wegame_appid"` WegameAppid string `json:"wegame_appid"`
WegameAppkey string `json:"wegame_appkey"` WegameAppkey string `json:"wegame_appkey"`
WegameClientid string `json:"wegame_clientid"` WegameClientid string `json:"wegame_clientid"`
WegameCompanyID string `json:"wegame_companyId"` WegameCompanyID string `json:"wegame_companyId"`
WegameLoginURL string `json:"wegame_loginUrl"` WegameLoginURL string `json:"wegame_loginUrl"`
WeiboAppKey string `json:"weibo_appKey"` WeiboAppKey string `json:"weibo_appKey"`
WeiboRedirectURL string `json:"weibo_redirectUrl"` WeiboRedirectURL string `json:"weibo_redirectUrl"`
WeixinAppID string `json:"weixin_appId"` WeixinAppID string `json:"weixin_appId"`
WeixinKey string `json:"weixin_key"` WeixinKey string `json:"weixin_key"`
} }
func Active(ctx *gin.Context) { func Active(ctx *gin.Context) {
@@ -168,7 +168,7 @@ func Initialize(ctx *gin.Context) {
GreportLogLevel: "off", GreportLogLevel: "off",
LogLevel: "off", LogLevel: "off",
LoginButton: []string{"official"}, LoginButton: []string{"official"},
LoginIcon: []interface{}{}, LoginIcon: []any{},
NeedFloatWindowPermission: 1, NeedFloatWindowPermission: 1,
NewDeviceIDServer: strings.ToUpper(openssl.Md5ToString(deviceId)), NewDeviceIDServer: strings.ToUpper(openssl.Md5ToString(deviceId)),
ShowGuestConfirm: 1, ShowGuestConfirm: 1,
+2 -2
View File
@@ -22,8 +22,8 @@ func ProfileRegister(ctx *gin.Context) {
_, err := UserEng.Table("user_preference_m").Where("user_id = ?", ctx.GetString("userid")).Update(&pref) _, err := UserEng.Table("user_preference_m").Where("user_id = ?", ctx.GetString("userid")).Update(&pref)
CheckErr(err) CheckErr(err)
profileResp := model.ProfileRegisterResp{ profileResp := model.ProfileRegisterResp{
ResponseData: []interface{}{}, ResponseData: []any{},
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(profileResp) resp, err := json.Marshal(profileResp)
+1 -1
View File
@@ -24,7 +24,7 @@ func ScenarioStartup(ctx *gin.Context) {
ScenarioAdjustment: 50, ScenarioAdjustment: 50,
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(startResp) resp, err := json.Marshal(startResp)
+1 -1
View File
@@ -24,7 +24,7 @@ func SubScenarioStartup(ctx *gin.Context) {
ScenarioAdjustment: 50, ScenarioAdjustment: 50,
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(startResp) resp, err := json.Marshal(startResp)
+1 -1
View File
@@ -20,7 +20,7 @@ func TosCheck(ctx *gin.Context) {
IsAgreed: true, IsAgreed: true,
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(tosResp) resp, err := json.Marshal(tosResp)
+10 -10
View File
@@ -15,8 +15,8 @@ import (
func SetDisplayRank(ctx *gin.Context) { func SetDisplayRank(ctx *gin.Context) {
dispResp := model.SetDisplayRankResp{ dispResp := model.SetDisplayRankResp{
ResponseData: []interface{}{}, ResponseData: []any{},
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(dispResp) resp, err := json.Marshal(dispResp)
@@ -158,8 +158,8 @@ func SetDeck(ctx *gin.Context) {
} }
dispResp := model.SetDeckResp{ dispResp := model.SetDeckResp{
ResponseData: []interface{}{}, ResponseData: []any{},
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(dispResp) resp, err := json.Marshal(dispResp)
@@ -200,8 +200,8 @@ func SetDeckName(ctx *gin.Context) {
CheckErr(err) CheckErr(err)
dispResp := model.SetDeckResp{ dispResp := model.SetDeckResp{
ResponseData: []interface{}{}, ResponseData: []any{},
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(dispResp) resp, err := json.Marshal(dispResp)
@@ -264,8 +264,8 @@ func WearAccessory(ctx *gin.Context) {
} }
wearResp := model.AwardSetResp{ wearResp := model.AwardSetResp{
ResponseData: []interface{}{}, ResponseData: []any{},
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(wearResp) resp, err := json.Marshal(wearResp)
@@ -328,8 +328,8 @@ func RemoveSkillEquip(ctx *gin.Context) {
} }
wearResp := model.AwardSetResp{ wearResp := model.AwardSetResp{
ResponseData: []interface{}{}, ResponseData: []any{},
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(wearResp) resp, err := json.Marshal(wearResp)
+5 -5
View File
@@ -16,8 +16,8 @@ import (
func SetNotificationToken(ctx *gin.Context) { func SetNotificationToken(ctx *gin.Context) {
notifResp := model.NotificationResp{ notifResp := model.NotificationResp{
ResponseData: []interface{}{}, ResponseData: []any{},
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(notifResp) resp, err := json.Marshal(notifResp)
@@ -41,8 +41,8 @@ func ChangeNavi(ctx *gin.Context) {
_, err := UserEng.Table("user_preference_m").Where("user_id = ?", ctx.GetString("userid")).Update(&pref) _, err := UserEng.Table("user_preference_m").Where("user_id = ?", ctx.GetString("userid")).Update(&pref)
CheckErr(err) CheckErr(err)
naviResp := model.UserNaviChangeResp{ naviResp := model.UserNaviChangeResp{
ResponseData: []interface{}{}, ResponseData: []any{},
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(naviResp) resp, err := json.Marshal(naviResp)
@@ -78,7 +78,7 @@ func ChangeName(ctx *gin.Context) {
AfterName: req.Get("name").String(), AfterName: req.Get("name").String(),
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(nameResp) resp, err := json.Marshal(nameResp)
+1 -1
View File
@@ -55,7 +55,7 @@ func UserInfo(ctx *gin.Context) {
}, },
ServerTimestamp: time.Now().Unix(), ServerTimestamp: time.Now().Unix(),
}, },
ReleaseInfo: []interface{}{}, ReleaseInfo: []any{},
StatusCode: 200, StatusCode: 200,
} }
resp, err := json.Marshal(userResp) resp, err := json.Marshal(userResp)
+1 -1
View File
@@ -32,7 +32,7 @@ func AuthKey(ctx *gin.Context) {
ctx.Set("dummy_token", serverToken) ctx.Set("dummy_token", serverToken)
ctx.Set("authorize_token", authorizeToken) ctx.Set("authorize_token", authorizeToken)
authJson, err := json.Marshal(map[string]interface{}{ authJson, err := json.Marshal(map[string]any{
"client_token": clientToken, "client_token": clientToken,
"server_token": serverToken, "server_token": serverToken,
}) })
+1 -1
View File
@@ -30,6 +30,6 @@ type AlbumSeriesRes struct {
// AlbumSeriesResp ... // AlbumSeriesResp ...
type AlbumSeriesResp struct { type AlbumSeriesResp struct {
ResponseData []AlbumSeriesRes `json:"response_data"` ResponseData []AlbumSeriesRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
+165 -165
View File
@@ -6,9 +6,9 @@ type AsLoginRes struct {
UserModel UserModel `json:"user_model"` UserModel UserModel `json:"user_model"`
IsPlatformServiceLinked bool `json:"is_platform_service_linked"` IsPlatformServiceLinked bool `json:"is_platform_service_linked"`
LastTimestamp int64 `json:"last_timestamp"` LastTimestamp int64 `json:"last_timestamp"`
Cautions []interface{} `json:"cautions"` Cautions []any `json:"cautions"`
ShowHomeCaution bool `json:"show_home_caution"` ShowHomeCaution bool `json:"show_home_caution"`
LiveResume interface{} `json:"live_resume"` LiveResume any `json:"live_resume"`
FromEea bool `json:"from_eea"` FromEea bool `json:"from_eea"`
GdprConsentedInfo GdprConsentedInfo `json:"gdpr_consented_info"` GdprConsentedInfo GdprConsentedInfo `json:"gdpr_consented_info"`
UserID int `json:"user_id"` UserID int `json:"user_id"`
@@ -22,67 +22,67 @@ type AsLoginRes struct {
// UserModel ... // UserModel ...
type UserModel struct { type UserModel struct {
UserStatus AsUserStatus `json:"user_status"` UserStatus AsUserStatus `json:"user_status"`
UserMemberByMemberID interface{} `json:"user_member_by_member_id"` UserMemberByMemberID any `json:"user_member_by_member_id"`
UserCardByCardID []interface{} `json:"user_card_by_card_id"` UserCardByCardID []any `json:"user_card_by_card_id"`
UserSuitBySuitID []interface{} `json:"user_suit_by_suit_id"` UserSuitBySuitID []any `json:"user_suit_by_suit_id"`
UserLiveDeckByID []interface{} `json:"user_live_deck_by_id"` UserLiveDeckByID []any `json:"user_live_deck_by_id"`
UserLivePartyByID []interface{} `json:"user_live_party_by_id"` UserLivePartyByID []any `json:"user_live_party_by_id"`
UserLessonDeckByID []interface{} `json:"user_lesson_deck_by_id"` UserLessonDeckByID []any `json:"user_lesson_deck_by_id"`
UserLiveMvDeckByID []interface{} `json:"user_live_mv_deck_by_id"` UserLiveMvDeckByID []any `json:"user_live_mv_deck_by_id"`
UserLiveMvDeckCustomByID interface{} `json:"user_live_mv_deck_custom_by_id"` UserLiveMvDeckCustomByID any `json:"user_live_mv_deck_custom_by_id"`
UserLiveDifficultyByDifficultyID []interface{} `json:"user_live_difficulty_by_difficulty_id"` UserLiveDifficultyByDifficultyID []any `json:"user_live_difficulty_by_difficulty_id"`
UserStoryMainByStoryMainID []interface{} `json:"user_story_main_by_story_main_id"` UserStoryMainByStoryMainID []any `json:"user_story_main_by_story_main_id"`
UserStoryMainSelectedByStoryMainCellID []interface{} `json:"user_story_main_selected_by_story_main_cell_id"` UserStoryMainSelectedByStoryMainCellID []any `json:"user_story_main_selected_by_story_main_cell_id"`
UserVoiceByVoiceID []interface{} `json:"user_voice_by_voice_id"` UserVoiceByVoiceID []any `json:"user_voice_by_voice_id"`
UserEmblemByEmblemID []interface{} `json:"user_emblem_by_emblem_id"` UserEmblemByEmblemID []any `json:"user_emblem_by_emblem_id"`
UserGachaTicketByTicketID []interface{} `json:"user_gacha_ticket_by_ticket_id"` UserGachaTicketByTicketID []any `json:"user_gacha_ticket_by_ticket_id"`
UserGachaPointByPointID []interface{} `json:"user_gacha_point_by_point_id"` UserGachaPointByPointID []any `json:"user_gacha_point_by_point_id"`
UserLessonEnhancingItemByItemID []interface{} `json:"user_lesson_enhancing_item_by_item_id"` UserLessonEnhancingItemByItemID []any `json:"user_lesson_enhancing_item_by_item_id"`
UserTrainingMaterialByItemID []interface{} `json:"user_training_material_by_item_id"` UserTrainingMaterialByItemID []any `json:"user_training_material_by_item_id"`
UserGradeUpItemByItemID []interface{} `json:"user_grade_up_item_by_item_id"` UserGradeUpItemByItemID []any `json:"user_grade_up_item_by_item_id"`
UserCustomBackgroundByID []interface{} `json:"user_custom_background_by_id"` UserCustomBackgroundByID []any `json:"user_custom_background_by_id"`
UserStorySideByID []interface{} `json:"user_story_side_by_id"` UserStorySideByID []any `json:"user_story_side_by_id"`
UserStoryMemberByID []interface{} `json:"user_story_member_by_id"` UserStoryMemberByID []any `json:"user_story_member_by_id"`
UserCommunicationMemberDetailBadgeByID []interface{} `json:"user_communication_member_detail_badge_by_id"` UserCommunicationMemberDetailBadgeByID []any `json:"user_communication_member_detail_badge_by_id"`
UserStoryEventHistoryByID []interface{} `json:"user_story_event_history_by_id"` UserStoryEventHistoryByID []any `json:"user_story_event_history_by_id"`
UserRecoveryLpByID []interface{} `json:"user_recovery_lp_by_id"` UserRecoveryLpByID []any `json:"user_recovery_lp_by_id"`
UserRecoveryApByID []interface{} `json:"user_recovery_ap_by_id"` UserRecoveryApByID []any `json:"user_recovery_ap_by_id"`
UserMissionByMissionID []interface{} `json:"user_mission_by_mission_id"` UserMissionByMissionID []any `json:"user_mission_by_mission_id"`
UserDailyMissionByMissionID []interface{} `json:"user_daily_mission_by_mission_id"` UserDailyMissionByMissionID []any `json:"user_daily_mission_by_mission_id"`
UserWeeklyMissionByMissionID []interface{} `json:"user_weekly_mission_by_mission_id"` UserWeeklyMissionByMissionID []any `json:"user_weekly_mission_by_mission_id"`
UserInfoTriggerBasicByTriggerID []interface{} `json:"user_info_trigger_basic_by_trigger_id"` UserInfoTriggerBasicByTriggerID []any `json:"user_info_trigger_basic_by_trigger_id"`
UserInfoTriggerCardGradeUpByTriggerID []interface{} `json:"user_info_trigger_card_grade_up_by_trigger_id"` UserInfoTriggerCardGradeUpByTriggerID []any `json:"user_info_trigger_card_grade_up_by_trigger_id"`
UserInfoTriggerMemberGuildSupportItemExpiredByTriggerID []interface{} `json:"user_info_trigger_member_guild_support_item_expired_by_trigger_id"` UserInfoTriggerMemberGuildSupportItemExpiredByTriggerID []any `json:"user_info_trigger_member_guild_support_item_expired_by_trigger_id"`
UserInfoTriggerMemberLoveLevelUpByTriggerID []interface{} `json:"user_info_trigger_member_love_level_up_by_trigger_id"` UserInfoTriggerMemberLoveLevelUpByTriggerID []any `json:"user_info_trigger_member_love_level_up_by_trigger_id"`
UserAccessoryByUserAccessoryID []interface{} `json:"user_accessory_by_user_accessory_id"` UserAccessoryByUserAccessoryID []any `json:"user_accessory_by_user_accessory_id"`
UserAccessoryLevelUpItemByID []interface{} `json:"user_accessory_level_up_item_by_id"` UserAccessoryLevelUpItemByID []any `json:"user_accessory_level_up_item_by_id"`
UserAccessoryRarityUpItemByID []interface{} `json:"user_accessory_rarity_up_item_by_id"` UserAccessoryRarityUpItemByID []any `json:"user_accessory_rarity_up_item_by_id"`
UserUnlockScenesByEnum []interface{} `json:"user_unlock_scenes_by_enum"` UserUnlockScenesByEnum []any `json:"user_unlock_scenes_by_enum"`
UserSceneTipsByEnum []interface{} `json:"user_scene_tips_by_enum"` UserSceneTipsByEnum []any `json:"user_scene_tips_by_enum"`
UserRuleDescriptionByID []interface{} `json:"user_rule_description_by_id"` UserRuleDescriptionByID []any `json:"user_rule_description_by_id"`
UserExchangeEventPointByID []interface{} `json:"user_exchange_event_point_by_id"` UserExchangeEventPointByID []any `json:"user_exchange_event_point_by_id"`
UserSchoolIdolFestivalIDRewardMissionByID []interface{} `json:"user_school_idol_festival_id_reward_mission_by_id"` UserSchoolIdolFestivalIDRewardMissionByID []any `json:"user_school_idol_festival_id_reward_mission_by_id"`
UserGpsPresentReceivedByID []interface{} `json:"user_gps_present_received_by_id"` UserGpsPresentReceivedByID []any `json:"user_gps_present_received_by_id"`
UserEventMarathonByEventMasterID []interface{} `json:"user_event_marathon_by_event_master_id"` UserEventMarathonByEventMasterID []any `json:"user_event_marathon_by_event_master_id"`
UserEventMiningByEventMasterID []interface{} `json:"user_event_mining_by_event_master_id"` UserEventMiningByEventMasterID []any `json:"user_event_mining_by_event_master_id"`
UserEventCoopByEventMasterID []interface{} `json:"user_event_coop_by_event_master_id"` UserEventCoopByEventMasterID []any `json:"user_event_coop_by_event_master_id"`
UserLiveSkipTicketByID []interface{} `json:"user_live_skip_ticket_by_id"` UserLiveSkipTicketByID []any `json:"user_live_skip_ticket_by_id"`
UserStoryEventUnlockItemByID []interface{} `json:"user_story_event_unlock_item_by_id"` UserStoryEventUnlockItemByID []any `json:"user_story_event_unlock_item_by_id"`
UserEventMarathonBoosterByID []interface{} `json:"user_event_marathon_booster_by_id"` UserEventMarathonBoosterByID []any `json:"user_event_marathon_booster_by_id"`
UserReferenceBookByID []interface{} `json:"user_reference_book_by_id"` UserReferenceBookByID []any `json:"user_reference_book_by_id"`
UserReviewRequestProcessFlowByID []interface{} `json:"user_review_request_process_flow_by_id"` UserReviewRequestProcessFlowByID []any `json:"user_review_request_process_flow_by_id"`
UserRankExpByID []interface{} `json:"user_rank_exp_by_id"` UserRankExpByID []any `json:"user_rank_exp_by_id"`
UserShareByID []interface{} `json:"user_share_by_id"` UserShareByID []any `json:"user_share_by_id"`
UserTowerByTowerID []interface{} `json:"user_tower_by_tower_id"` UserTowerByTowerID []any `json:"user_tower_by_tower_id"`
UserRecoveryTowerCardUsedCountItemByRecoveryTowerCardUsedCountItemMasterID []interface{} `json:"user_recovery_tower_card_used_count_item_by_recovery_tower_card_used_count_item_master_id"` UserRecoveryTowerCardUsedCountItemByRecoveryTowerCardUsedCountItemMasterID []any `json:"user_recovery_tower_card_used_count_item_by_recovery_tower_card_used_count_item_master_id"`
UserStoryLinkageByID []interface{} `json:"user_story_linkage_by_id"` UserStoryLinkageByID []any `json:"user_story_linkage_by_id"`
UserSubscriptionStatusByID []interface{} `json:"user_subscription_status_by_id"` UserSubscriptionStatusByID []any `json:"user_subscription_status_by_id"`
UserStoryMainPartDigestMovieByID []interface{} `json:"user_story_main_part_digest_movie_by_id"` UserStoryMainPartDigestMovieByID []any `json:"user_story_main_part_digest_movie_by_id"`
UserMemberGuildByID []interface{} `json:"user_member_guild_by_id"` UserMemberGuildByID []any `json:"user_member_guild_by_id"`
UserMemberGuildSupportItemByID []interface{} `json:"user_member_guild_support_item_by_id"` UserMemberGuildSupportItemByID []any `json:"user_member_guild_support_item_by_id"`
UserDailyTheaterByDailyTheaterID []interface{} `json:"user_daily_theater_by_daily_theater_id"` UserDailyTheaterByDailyTheaterID []any `json:"user_daily_theater_by_daily_theater_id"`
UserPlayListByID []interface{} `json:"user_play_list_by_id"` UserPlayListByID []any `json:"user_play_list_by_id"`
} }
// Name ... // Name ...
@@ -102,56 +102,56 @@ type Message struct {
// AsUserStatus ... // AsUserStatus ...
type AsUserStatus struct { type AsUserStatus struct {
Name Name `json:"name"` Name Name `json:"name"`
Nickname Nickname `json:"nickname"` Nickname Nickname `json:"nickname"`
LastLoginAt int64 `json:"last_login_at"` LastLoginAt int64 `json:"last_login_at"`
Rank int `json:"rank"` Rank int `json:"rank"`
Exp int `json:"exp"` Exp int `json:"exp"`
Message Message `json:"message"` Message Message `json:"message"`
RecommendCardMasterID int `json:"recommend_card_master_id"` RecommendCardMasterID int `json:"recommend_card_master_id"`
MaxFriendNum int `json:"max_friend_num"` MaxFriendNum int `json:"max_friend_num"`
LivePointFullAt int `json:"live_point_full_at"` LivePointFullAt int `json:"live_point_full_at"`
LivePointBroken int `json:"live_point_broken"` LivePointBroken int `json:"live_point_broken"`
LivePointSubscriptionRecoveryDailyCount int `json:"live_point_subscription_recovery_daily_count"` LivePointSubscriptionRecoveryDailyCount int `json:"live_point_subscription_recovery_daily_count"`
LivePointSubscriptionRecoveryDailyResetAt int `json:"live_point_subscription_recovery_daily_reset_at"` LivePointSubscriptionRecoveryDailyResetAt int `json:"live_point_subscription_recovery_daily_reset_at"`
ActivityPointCount int `json:"activity_point_count"` ActivityPointCount int `json:"activity_point_count"`
ActivityPointResetAt int `json:"activity_point_reset_at"` ActivityPointResetAt int `json:"activity_point_reset_at"`
ActivityPointPaymentRecoveryDailyCount int `json:"activity_point_payment_recovery_daily_count"` ActivityPointPaymentRecoveryDailyCount int `json:"activity_point_payment_recovery_daily_count"`
ActivityPointPaymentRecoveryDailyResetAt int `json:"activity_point_payment_recovery_daily_reset_at"` ActivityPointPaymentRecoveryDailyResetAt int `json:"activity_point_payment_recovery_daily_reset_at"`
GameMoney int `json:"game_money"` GameMoney int `json:"game_money"`
CardExp int `json:"card_exp"` CardExp int `json:"card_exp"`
FreeSnsCoin int `json:"free_sns_coin"` FreeSnsCoin int `json:"free_sns_coin"`
AppleSnsCoin int `json:"apple_sns_coin"` AppleSnsCoin int `json:"apple_sns_coin"`
GoogleSnsCoin int `json:"google_sns_coin"` GoogleSnsCoin int `json:"google_sns_coin"`
Cash int `json:"cash"` Cash int `json:"cash"`
SubscriptionCoin int `json:"subscription_coin"` SubscriptionCoin int `json:"subscription_coin"`
BirthDate interface{} `json:"birth_date"` BirthDate any `json:"birth_date"`
BirthMonth int `json:"birth_month"` BirthMonth int `json:"birth_month"`
BirthDay int `json:"birth_day"` BirthDay int `json:"birth_day"`
LatestLiveDeckID int `json:"latest_live_deck_id"` LatestLiveDeckID int `json:"latest_live_deck_id"`
MainLessonDeckID int `json:"main_lesson_deck_id"` MainLessonDeckID int `json:"main_lesson_deck_id"`
FavoriteMemberID int `json:"favorite_member_id"` FavoriteMemberID int `json:"favorite_member_id"`
LastLiveDifficultyID int `json:"last_live_difficulty_id"` LastLiveDifficultyID int `json:"last_live_difficulty_id"`
LpMagnification int `json:"lp_magnification"` LpMagnification int `json:"lp_magnification"`
EmblemID int `json:"emblem_id"` EmblemID int `json:"emblem_id"`
DeviceToken string `json:"device_token"` DeviceToken string `json:"device_token"`
TutorialPhase int `json:"tutorial_phase"` TutorialPhase int `json:"tutorial_phase"`
TutorialEndAt int `json:"tutorial_end_at"` TutorialEndAt int `json:"tutorial_end_at"`
LoginDays int `json:"login_days"` LoginDays int `json:"login_days"`
NaviTapCount int `json:"navi_tap_count"` NaviTapCount int `json:"navi_tap_count"`
NaviTapRecoverAt int `json:"navi_tap_recover_at"` NaviTapRecoverAt int `json:"navi_tap_recover_at"`
IsAutoMode bool `json:"is_auto_mode"` IsAutoMode bool `json:"is_auto_mode"`
MaxScoreLiveDifficultyMasterID int `json:"max_score_live_difficulty_master_id"` MaxScoreLiveDifficultyMasterID int `json:"max_score_live_difficulty_master_id"`
LiveMaxScore int `json:"live_max_score"` LiveMaxScore int `json:"live_max_score"`
MaxComboLiveDifficultyMasterID int `json:"max_combo_live_difficulty_master_id"` MaxComboLiveDifficultyMasterID int `json:"max_combo_live_difficulty_master_id"`
LiveMaxCombo int `json:"live_max_combo"` LiveMaxCombo int `json:"live_max_combo"`
LessonResumeStatus int `json:"lesson_resume_status"` LessonResumeStatus int `json:"lesson_resume_status"`
AccessoryBoxAdditional int `json:"accessory_box_additional"` AccessoryBoxAdditional int `json:"accessory_box_additional"`
TermsOfUseVersion int `json:"terms_of_use_version"` TermsOfUseVersion int `json:"terms_of_use_version"`
BootstrapSifidCheckAt int `json:"bootstrap_sifid_check_at"` BootstrapSifidCheckAt int `json:"bootstrap_sifid_check_at"`
GdprVersion int `json:"gdpr_version"` GdprVersion int `json:"gdpr_version"`
MemberGuildMemberMasterID int `json:"member_guild_member_master_id"` MemberGuildMemberMasterID int `json:"member_guild_member_master_id"`
MemberGuildLastUpdatedAt int `json:"member_guild_last_updated_at"` MemberGuildLastUpdatedAt int `json:"member_guild_last_updated_at"`
} }
// GdprConsentedInfo ... // GdprConsentedInfo ...
@@ -207,10 +207,10 @@ type AsSuitInfo struct {
// AsEmblemInfo ... // AsEmblemInfo ...
type AsEmblemInfo struct { type AsEmblemInfo struct {
EmblemMID int `json:"emblem_m_id"` EmblemMID int `json:"emblem_m_id"`
IsNew bool `json:"is_new"` IsNew bool `json:"is_new"`
EmblemParam interface{} `json:"emblem_param"` EmblemParam any `json:"emblem_param"`
AcquiredAt int64 `json:"acquired_at"` AcquiredAt int64 `json:"acquired_at"`
} }
// AsEmblemId ... // AsEmblemId ...
@@ -221,20 +221,20 @@ type AsEmblemId struct {
// AsLiveDifficultyInfo ... // AsLiveDifficultyInfo ...
type AsLiveDifficultyInfo struct { type AsLiveDifficultyInfo struct {
LiveDifficultyID int `json:"live_difficulty_id"` LiveDifficultyID int `json:"live_difficulty_id"`
MaxScore int `json:"max_score"` MaxScore int `json:"max_score"`
MaxCombo int `json:"max_combo"` MaxCombo int `json:"max_combo"`
PlayCount int `json:"play_count"` PlayCount int `json:"play_count"`
ClearCount int `json:"clear_count"` ClearCount int `json:"clear_count"`
CancelCount int `json:"cancel_count"` CancelCount int `json:"cancel_count"`
NotClearedCount int `json:"not_cleared_count"` NotClearedCount int `json:"not_cleared_count"`
IsFullCombo bool `json:"is_full_combo"` IsFullCombo bool `json:"is_full_combo"`
ClearedDifficultyAchievement1 interface{} `json:"cleared_difficulty_achievement_1"` ClearedDifficultyAchievement1 any `json:"cleared_difficulty_achievement_1"`
ClearedDifficultyAchievement2 interface{} `json:"cleared_difficulty_achievement_2"` ClearedDifficultyAchievement2 any `json:"cleared_difficulty_achievement_2"`
ClearedDifficultyAchievement3 interface{} `json:"cleared_difficulty_achievement_3"` ClearedDifficultyAchievement3 any `json:"cleared_difficulty_achievement_3"`
EnableAutoplay bool `json:"enable_autoplay"` EnableAutoplay bool `json:"enable_autoplay"`
IsAutoplay bool `json:"is_autoplay"` IsAutoplay bool `json:"is_autoplay"`
IsNew bool `json:"is_new"` IsNew bool `json:"is_new"`
} }
// AsMainStoryInfo ... // AsMainStoryInfo ...
@@ -327,9 +327,9 @@ type AsCardRes struct {
// AsSaveDeckReq ... // AsSaveDeckReq ...
type AsSaveDeckReq struct { type AsSaveDeckReq struct {
DeckID int `json:"deck_id"` DeckID int `json:"deck_id"`
CardWithSuit []int `json:"card_with_suit"` CardWithSuit []int `json:"card_with_suit"`
SquadDict []interface{} `json:"squad_dict"` SquadDict []any `json:"squad_dict"`
} }
// AsDeckSquadDict ... // AsDeckSquadDict ...
@@ -410,7 +410,7 @@ type AsLivePartnerInfo struct {
EmblemID int `json:"emblem_id"` EmblemID int `json:"emblem_id"`
IsNew bool `json:"is_new"` IsNew bool `json:"is_new"`
IntroductionMessage IntroductionMessage `json:"introduction_message"` IntroductionMessage IntroductionMessage `json:"introduction_message"`
FriendApprovedAt interface{} `json:"friend_approved_at"` FriendApprovedAt any `json:"friend_approved_at"`
RequestStatus int `json:"request_status"` RequestStatus int `json:"request_status"`
IsRequestPending bool `json:"is_request_pending"` IsRequestPending bool `json:"is_request_pending"`
} }
@@ -453,10 +453,10 @@ type AsCardAwakeningReq struct {
} }
// AsReq ... // AsReq ...
type AsReq interface{} type AsReq any
// AsResp ... // AsResp ...
type AsResp interface{} type AsResp any
// PackUrlReqBody ... // PackUrlReqBody ...
type PackUrlReqBody struct { type PackUrlReqBody struct {
@@ -495,42 +495,42 @@ type UserMemberInfo struct {
} }
// UserMemberByMemberID ... // UserMemberByMemberID ...
type UserMemberByMemberID interface{} type UserMemberByMemberID any
// UserLiveMvDeckInfo ... // UserLiveMvDeckInfo ...
type UserLiveMvDeckInfo struct { type UserLiveMvDeckInfo struct {
LiveMasterID interface{} `json:"live_master_id"` LiveMasterID any `json:"live_master_id"`
MemberMasterID1 interface{} `json:"member_master_id_1"` MemberMasterID1 any `json:"member_master_id_1"`
MemberMasterID2 interface{} `json:"member_master_id_2"` MemberMasterID2 any `json:"member_master_id_2"`
MemberMasterID3 interface{} `json:"member_master_id_3"` MemberMasterID3 any `json:"member_master_id_3"`
MemberMasterID4 interface{} `json:"member_master_id_4"` MemberMasterID4 any `json:"member_master_id_4"`
MemberMasterID5 interface{} `json:"member_master_id_5"` MemberMasterID5 any `json:"member_master_id_5"`
MemberMasterID6 interface{} `json:"member_master_id_6"` MemberMasterID6 any `json:"member_master_id_6"`
MemberMasterID7 interface{} `json:"member_master_id_7"` MemberMasterID7 any `json:"member_master_id_7"`
MemberMasterID8 interface{} `json:"member_master_id_8"` MemberMasterID8 any `json:"member_master_id_8"`
MemberMasterID9 interface{} `json:"member_master_id_9"` MemberMasterID9 any `json:"member_master_id_9"`
MemberMasterID10 interface{} `json:"member_master_id_10"` MemberMasterID10 any `json:"member_master_id_10"`
MemberMasterID11 interface{} `json:"member_master_id_11"` MemberMasterID11 any `json:"member_master_id_11"`
MemberMasterID12 interface{} `json:"member_master_id_12"` MemberMasterID12 any `json:"member_master_id_12"`
SuitMasterID1 interface{} `json:"suit_master_id_1"` SuitMasterID1 any `json:"suit_master_id_1"`
SuitMasterID2 interface{} `json:"suit_master_id_2"` SuitMasterID2 any `json:"suit_master_id_2"`
SuitMasterID3 interface{} `json:"suit_master_id_3"` SuitMasterID3 any `json:"suit_master_id_3"`
SuitMasterID4 interface{} `json:"suit_master_id_4"` SuitMasterID4 any `json:"suit_master_id_4"`
SuitMasterID5 interface{} `json:"suit_master_id_5"` SuitMasterID5 any `json:"suit_master_id_5"`
SuitMasterID6 interface{} `json:"suit_master_id_6"` SuitMasterID6 any `json:"suit_master_id_6"`
SuitMasterID7 interface{} `json:"suit_master_id_7"` SuitMasterID7 any `json:"suit_master_id_7"`
SuitMasterID8 interface{} `json:"suit_master_id_8"` SuitMasterID8 any `json:"suit_master_id_8"`
SuitMasterID9 interface{} `json:"suit_master_id_9"` SuitMasterID9 any `json:"suit_master_id_9"`
SuitMasterID10 interface{} `json:"suit_master_id_10"` SuitMasterID10 any `json:"suit_master_id_10"`
SuitMasterID11 interface{} `json:"suit_master_id_11"` SuitMasterID11 any `json:"suit_master_id_11"`
SuitMasterID12 interface{} `json:"suit_master_id_12"` SuitMasterID12 any `json:"suit_master_id_12"`
} }
// UserLiveMvDeckCustomByID ... // UserLiveMvDeckCustomByID ...
type UserLiveMvDeckCustomByID interface{} type UserLiveMvDeckCustomByID any
// SetThemeRes ... // SetThemeRes ...
type SetThemeRes interface{} type SetThemeRes any
// UserCommunicationMemberDetailBadgeByID ... // UserCommunicationMemberDetailBadgeByID ...
type UserCommunicationMemberDetailBadgeByID struct { type UserCommunicationMemberDetailBadgeByID struct {
+3 -3
View File
@@ -2,9 +2,9 @@ package model
// AnnounceResp ... // AnnounceResp ...
type AnnounceResp struct { type AnnounceResp struct {
ResponseData AnnounceRes `json:"response_data"` ResponseData AnnounceRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// AnnounceRes ... // AnnounceRes ...
+1 -1
View File
@@ -12,6 +12,6 @@ type ApiReq struct {
// ApiResp ... // ApiResp ...
type ApiResp struct { type ApiResp struct {
ResponseData json.RawMessage `json:"response_data"` ResponseData json.RawMessage `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
+3 -3
View File
@@ -8,7 +8,7 @@ type AuthKeyRes struct {
// AuthKeyResp ... // AuthKeyResp ...
type AuthKeyResp struct { type AuthKeyResp struct {
ResponseData AuthKeyRes `json:"response_data"` ResponseData AuthKeyRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
+3 -3
View File
@@ -2,9 +2,9 @@ package model
// AwardSetResp ... // AwardSetResp ...
type AwardSetResp struct { type AwardSetResp struct {
ResponseData []interface{} `json:"response_data"` ResponseData []any `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// AwardInfo ... // AwardInfo ...
+3 -3
View File
@@ -2,9 +2,9 @@ package model
// BackgroundSetResp ... // BackgroundSetResp ...
type BackgroundSetResp struct { type BackgroundSetResp struct {
ResponseData []interface{} `json:"response_data"` ResponseData []any `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// BackgroundInfo ... // BackgroundInfo ...
+4 -4
View File
@@ -2,8 +2,8 @@ package model
// ChallengeInfoResp ... // ChallengeInfoResp ...
type ChallengeInfoResp struct { type ChallengeInfoResp struct {
Result []interface{} `json:"result"` Result []any `json:"result"`
Status int `json:"status"` Status int `json:"status"`
CommandNum bool `json:"commandNum"` CommandNum bool `json:"commandNum"`
TimeStamp int64 `json:"timeStamp"` TimeStamp int64 `json:"timeStamp"`
} }
+21 -21
View File
@@ -21,7 +21,7 @@ type AdditionalRes struct {
// AdditionalResp ... // AdditionalResp ...
type AdditionalResp struct { type AdditionalResp struct {
ResponseData []AdditionalRes `json:"response_data"` ResponseData []AdditionalRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
@@ -42,21 +42,21 @@ type BatchRes struct {
// BatchResp ... // BatchResp ...
type BatchResp struct { type BatchResp struct {
ResponseData []BatchRes `json:"response_data"` ResponseData []BatchRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// UpdateReq ... // UpdateReq ...
type UpdateReq struct { type UpdateReq struct {
Module string `json:"module"` Module string `json:"module"`
TargetOs string `json:"target_os"` TargetOs string `json:"target_os"`
InstallVersion string `json:"install_version"` InstallVersion string `json:"install_version"`
TimeStamp int `json:"timeStamp"` TimeStamp int `json:"timeStamp"`
Action string `json:"action"` Action string `json:"action"`
PackageList []interface{} `json:"package_list"` PackageList []any `json:"package_list"`
CommandNum string `json:"commandNum"` CommandNum string `json:"commandNum"`
ExternalVersion string `json:"external_version"` ExternalVersion string `json:"external_version"`
} }
// UpdateRes ... // UpdateRes ...
@@ -68,9 +68,9 @@ type UpdateRes struct {
// UpdateResp ... // UpdateResp ...
type UpdateResp struct { type UpdateResp struct {
ResponseData []UpdateRes `json:"response_data"` ResponseData []UpdateRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// UrlReq ... // UrlReq ...
@@ -89,14 +89,14 @@ type UrlRes struct {
// UrlResp ... // UrlResp ...
type UrlResp struct { type UrlResp struct {
ResponseData UrlRes `json:"response_data"` ResponseData UrlRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// EventResp ... // EventResp ...
type EventResp struct { type EventResp struct {
ResponseData []interface{} `json:"response_data"` ResponseData []any `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
+3 -3
View File
@@ -2,9 +2,9 @@ package model
// EventsResp ... // EventsResp ...
type EventsResp struct { type EventsResp struct {
ResponseData EventsRes `json:"response_data"` ResponseData EventsRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// EventsRes ... // EventsRes ...
+3 -3
View File
@@ -2,9 +2,9 @@ package model
// GdprResp ... // GdprResp ...
type GdprResp struct { type GdprResp struct {
ResponseData GdprRes `json:"response_data"` ResponseData GdprRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// GdprRes ... // GdprRes ...
+7 -7
View File
@@ -63,14 +63,14 @@ type LbClassSystem struct {
// LbRes ... // LbRes ...
type LbRes struct { type LbRes struct {
Sheets []interface{} `json:"sheets"` Sheets []any `json:"sheets"`
CalendarInfo CalendarInfo `json:"calendar_info"` CalendarInfo CalendarInfo `json:"calendar_info"`
TotalLoginInfo TotalLoginInfo `json:"total_login_info"` TotalLoginInfo TotalLoginInfo `json:"total_login_info"`
LicenseLbonusList []interface{} `json:"license_lbonus_list"` LicenseLbonusList []any `json:"license_lbonus_list"`
ClassSystem LbClassSystem `json:"class_system"` ClassSystem LbClassSystem `json:"class_system"`
StartDashSheets []interface{} `json:"start_dash_sheets"` StartDashSheets []any `json:"start_dash_sheets"`
EffortPoint []EffortPoint `json:"effort_point"` EffortPoint []EffortPoint `json:"effort_point"`
LimitedEffortBox []interface{} `json:"limited_effort_box"` LimitedEffortBox []any `json:"limited_effort_box"`
MuseumInfo Museum `json:"museum_info"` MuseumInfo Museum `json:"museum_info"`
ServerTimestamp int64 `json:"server_timestamp"` ServerTimestamp int64 `json:"server_timestamp"`
PresentCnt int `json:"present_cnt"` PresentCnt int `json:"present_cnt"`
@@ -78,7 +78,7 @@ type LbRes struct {
// LbResp ... // LbResp ...
type LbResp struct { type LbResp struct {
ResponseData LbRes `json:"response_data"` ResponseData LbRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
+100 -100
View File
@@ -2,9 +2,9 @@ package model
// GameOverResp ... // GameOverResp ...
type GameOverResp struct { type GameOverResp struct {
ResponseData []interface{} `json:"response_data"` ResponseData []any `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// NormalLiveStatusList ... // NormalLiveStatusList ...
@@ -42,8 +42,8 @@ type LiveStatusRes struct {
NormalLiveStatusList []NormalLiveStatusList `json:"normal_live_status_list"` NormalLiveStatusList []NormalLiveStatusList `json:"normal_live_status_list"`
SpecialLiveStatusList []SpecialLiveStatusList `json:"special_live_status_list"` SpecialLiveStatusList []SpecialLiveStatusList `json:"special_live_status_list"`
TrainingLiveStatusList []TrainingLiveStatusList `json:"training_live_status_list"` TrainingLiveStatusList []TrainingLiveStatusList `json:"training_live_status_list"`
MarathonLiveStatusList []interface{} `json:"marathon_live_status_list"` MarathonLiveStatusList []any `json:"marathon_live_status_list"`
FreeLiveStatusList []interface{} `json:"free_live_status_list"` FreeLiveStatusList []any `json:"free_live_status_list"`
CanResumeLive bool `json:"can_resume_live"` CanResumeLive bool `json:"can_resume_live"`
} }
@@ -88,12 +88,12 @@ type TrainingLiveList struct {
// LiveScheduleRes ... // LiveScheduleRes ...
type LiveScheduleRes struct { type LiveScheduleRes struct {
EventList []interface{} `json:"event_list"` EventList []any `json:"event_list"`
LiveList []LiveList `json:"live_list"` LiveList []LiveList `json:"live_list"`
LimitedBonusList []interface{} `json:"limited_bonus_list"` LimitedBonusList []any `json:"limited_bonus_list"`
LimitedBonusCommonList []LimitedBonusCommonList `json:"limited_bonus_common_list"` LimitedBonusCommonList []LimitedBonusCommonList `json:"limited_bonus_common_list"`
RandomLiveList []RandomLiveList `json:"random_live_list"` RandomLiveList []RandomLiveList `json:"random_live_list"`
FreeLiveList []interface{} `json:"free_live_list"` FreeLiveList []any `json:"free_live_list"`
TrainingLiveList []TrainingLiveList `json:"training_live_list"` TrainingLiveList []TrainingLiveList `json:"training_live_list"`
} }
@@ -185,7 +185,7 @@ type PlayRes struct {
AvailableLiveResume bool `json:"available_live_resume"` AvailableLiveResume bool `json:"available_live_resume"`
LiveList []PlayLiveList `json:"live_list"` LiveList []PlayLiveList `json:"live_list"`
IsMarathonEvent bool `json:"is_marathon_event"` IsMarathonEvent bool `json:"is_marathon_event"`
MarathonEventID interface{} `json:"marathon_event_id"` MarathonEventID any `json:"marathon_event_id"`
NoSkill bool `json:"no_skill"` NoSkill bool `json:"no_skill"`
CanActivateEffect bool `json:"can_activate_effect"` CanActivateEffect bool `json:"can_activate_effect"`
ServerTimestamp int64 `json:"server_timestamp"` ServerTimestamp int64 `json:"server_timestamp"`
@@ -193,9 +193,9 @@ type PlayRes struct {
// PlayResp ... // PlayResp ...
type PlayResp struct { type PlayResp struct {
ResponseData PlayRes `json:"response_data"` ResponseData PlayRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// PlayScoreReq ... // PlayScoreReq ...
@@ -210,28 +210,28 @@ type PlayScoreReq struct {
// On ... // On ...
type On struct { type On struct {
HasRecord bool `json:"has_record"` HasRecord bool `json:"has_record"`
LiveInfo LiveInfo `json:"live_info"` LiveInfo LiveInfo `json:"live_info"`
RandomSeed interface{} `json:"random_seed"` RandomSeed any `json:"random_seed"`
MaxCombo interface{} `json:"max_combo"` MaxCombo any `json:"max_combo"`
UpdateDate interface{} `json:"update_date"` UpdateDate any `json:"update_date"`
PreciseList interface{} `json:"precise_list"` PreciseList any `json:"precise_list"`
DeckInfo interface{} `json:"deck_info"` DeckInfo any `json:"deck_info"`
TapAdjust interface{} `json:"tap_adjust"` TapAdjust any `json:"tap_adjust"`
CanReplay bool `json:"can_replay"` CanReplay bool `json:"can_replay"`
} }
// Off ... // Off ...
type Off struct { type Off struct {
HasRecord bool `json:"has_record"` HasRecord bool `json:"has_record"`
LiveInfo LiveInfo `json:"live_info"` LiveInfo LiveInfo `json:"live_info"`
RandomSeed interface{} `json:"random_seed"` RandomSeed any `json:"random_seed"`
MaxCombo interface{} `json:"max_combo"` MaxCombo any `json:"max_combo"`
UpdateDate interface{} `json:"update_date"` UpdateDate any `json:"update_date"`
PreciseList interface{} `json:"precise_list"` PreciseList any `json:"precise_list"`
DeckInfo interface{} `json:"deck_info"` DeckInfo any `json:"deck_info"`
TapAdjust interface{} `json:"tap_adjust"` TapAdjust any `json:"tap_adjust"`
CanReplay bool `json:"can_replay"` CanReplay bool `json:"can_replay"`
} }
// PlayScoreRes ... // PlayScoreRes ...
@@ -245,9 +245,9 @@ type PlayScoreRes struct {
// PlayScoreResp ... // PlayScoreResp ...
type PlayScoreResp struct { type PlayScoreResp struct {
ResponseData PlayScoreRes `json:"response_data"` ResponseData PlayScoreRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// PlayRewardReq ... // PlayRewardReq ...
@@ -271,7 +271,7 @@ type PlayRewardReq struct {
TimeStamp int `json:"timeStamp"` TimeStamp int `json:"timeStamp"`
PreciseScoreLog PreciseScoreLog `json:"precise_score_log"` PreciseScoreLog PreciseScoreLog `json:"precise_score_log"`
ScoreCute int `json:"score_cute"` ScoreCute int `json:"score_cute"`
EventID interface{} `json:"event_id"` EventID any `json:"event_id"`
ScoreCool int `json:"score_cool"` ScoreCool int `json:"score_cool"`
} }
@@ -372,67 +372,67 @@ type BaseRewardInfo struct {
// LiveClear ... // LiveClear ...
type LiveClear struct { type LiveClear struct {
AddType int `json:"add_type"` AddType int `json:"add_type"`
Amount int `json:"amount"` Amount int `json:"amount"`
ItemCategoryID int `json:"item_category_id"` ItemCategoryID int `json:"item_category_id"`
UnitID int `json:"unit_id"` UnitID int `json:"unit_id"`
UnitOwningUserID int64 `json:"unit_owning_user_id"` UnitOwningUserID int64 `json:"unit_owning_user_id"`
IsSupportMember bool `json:"is_support_member"` IsSupportMember bool `json:"is_support_member"`
Exp int `json:"exp"` Exp int `json:"exp"`
NextExp int `json:"next_exp"` NextExp int `json:"next_exp"`
MaxHp int `json:"max_hp"` MaxHp int `json:"max_hp"`
Level int `json:"level"` Level int `json:"level"`
MaxLevel int `json:"max_level"` MaxLevel int `json:"max_level"`
LevelLimitID int `json:"level_limit_id"` LevelLimitID int `json:"level_limit_id"`
SkillLevel int `json:"skill_level"` SkillLevel int `json:"skill_level"`
Rank int `json:"rank"` Rank int `json:"rank"`
Love int `json:"love"` Love int `json:"love"`
IsRankMax bool `json:"is_rank_max"` IsRankMax bool `json:"is_rank_max"`
IsLevelMax bool `json:"is_level_max"` IsLevelMax bool `json:"is_level_max"`
IsLoveMax bool `json:"is_love_max"` IsLoveMax bool `json:"is_love_max"`
IsSigned bool `json:"is_signed"` IsSigned bool `json:"is_signed"`
NewUnitFlag bool `json:"new_unit_flag"` NewUnitFlag bool `json:"new_unit_flag"`
RewardBoxFlag bool `json:"reward_box_flag"` RewardBoxFlag bool `json:"reward_box_flag"`
UnitSkillExp int `json:"unit_skill_exp"` UnitSkillExp int `json:"unit_skill_exp"`
DisplayRank int `json:"display_rank"` DisplayRank int `json:"display_rank"`
UnitRemovableSkillCapacity int `json:"unit_removable_skill_capacity"` UnitRemovableSkillCapacity int `json:"unit_removable_skill_capacity"`
RemovableSkillIds []interface{} `json:"removable_skill_ids"` RemovableSkillIds []any `json:"removable_skill_ids"`
} }
// LiveRank ... // LiveRank ...
type LiveRank struct { type LiveRank struct {
AddType int `json:"add_type"` AddType int `json:"add_type"`
Amount int `json:"amount"` Amount int `json:"amount"`
ItemCategoryID int `json:"item_category_id"` ItemCategoryID int `json:"item_category_id"`
UnitID int `json:"unit_id"` UnitID int `json:"unit_id"`
UnitOwningUserID int64 `json:"unit_owning_user_id"` UnitOwningUserID int64 `json:"unit_owning_user_id"`
IsSupportMember bool `json:"is_support_member"` IsSupportMember bool `json:"is_support_member"`
Exp int `json:"exp"` Exp int `json:"exp"`
NextExp int `json:"next_exp"` NextExp int `json:"next_exp"`
MaxHp int `json:"max_hp"` MaxHp int `json:"max_hp"`
Level int `json:"level"` Level int `json:"level"`
MaxLevel int `json:"max_level"` MaxLevel int `json:"max_level"`
LevelLimitID int `json:"level_limit_id"` LevelLimitID int `json:"level_limit_id"`
SkillLevel int `json:"skill_level"` SkillLevel int `json:"skill_level"`
Rank int `json:"rank"` Rank int `json:"rank"`
Love int `json:"love"` Love int `json:"love"`
IsRankMax bool `json:"is_rank_max"` IsRankMax bool `json:"is_rank_max"`
IsLevelMax bool `json:"is_level_max"` IsLevelMax bool `json:"is_level_max"`
IsLoveMax bool `json:"is_love_max"` IsLoveMax bool `json:"is_love_max"`
IsSigned bool `json:"is_signed"` IsSigned bool `json:"is_signed"`
NewUnitFlag bool `json:"new_unit_flag"` NewUnitFlag bool `json:"new_unit_flag"`
RewardBoxFlag bool `json:"reward_box_flag"` RewardBoxFlag bool `json:"reward_box_flag"`
UnitSkillExp int `json:"unit_skill_exp"` UnitSkillExp int `json:"unit_skill_exp"`
DisplayRank int `json:"display_rank"` DisplayRank int `json:"display_rank"`
UnitRemovableSkillCapacity int `json:"unit_removable_skill_capacity"` UnitRemovableSkillCapacity int `json:"unit_removable_skill_capacity"`
RemovableSkillIds []interface{} `json:"removable_skill_ids"` RemovableSkillIds []any `json:"removable_skill_ids"`
} }
// RewardUnitList ... // RewardUnitList ...
type RewardUnitList struct { type RewardUnitList struct {
LiveClear []LiveClear `json:"live_clear"` LiveClear []LiveClear `json:"live_clear"`
LiveRank []LiveRank `json:"live_rank"` LiveRank []LiveRank `json:"live_rank"`
LiveCombo []interface{} `json:"live_combo"` LiveCombo []any `json:"live_combo"`
} }
// Rewards ... // Rewards ...
@@ -536,8 +536,8 @@ type NextLevelInfo struct {
// GoalAccompInfo ... // GoalAccompInfo ...
type GoalAccompInfo struct { type GoalAccompInfo struct {
AchievedIds []interface{} `json:"achieved_ids"` AchievedIds []any `json:"achieved_ids"`
Rewards []interface{} `json:"rewards"` Rewards []any `json:"rewards"`
} }
// RewardRankInfo ... // RewardRankInfo ...
@@ -596,25 +596,25 @@ type RewardRes struct {
HiScore int `json:"hi_score"` HiScore int `json:"hi_score"`
BaseRewardInfo BaseRewardInfo `json:"base_reward_info"` BaseRewardInfo BaseRewardInfo `json:"base_reward_info"`
RewardUnitList RewardUnitList `json:"reward_unit_list"` RewardUnitList RewardUnitList `json:"reward_unit_list"`
UnlockedSubscenarioIds []interface{} `json:"unlocked_subscenario_ids"` UnlockedSubscenarioIds []any `json:"unlocked_subscenario_ids"`
UnlockedMultiUnitScenarioIds []interface{} `json:"unlocked_multi_unit_scenario_ids"` UnlockedMultiUnitScenarioIds []any `json:"unlocked_multi_unit_scenario_ids"`
EffortPoint []EffortPoint `json:"effort_point"` EffortPoint []EffortPoint `json:"effort_point"`
IsEffortPointVisible bool `json:"is_effort_point_visible"` IsEffortPointVisible bool `json:"is_effort_point_visible"`
LimitedEffortBox []interface{} `json:"limited_effort_box"` LimitedEffortBox []any `json:"limited_effort_box"`
UnitList []PlayRewardUnitList `json:"unit_list"` UnitList []PlayRewardUnitList `json:"unit_list"`
BeforeUserInfo BeforeUserInfo `json:"before_user_info"` BeforeUserInfo BeforeUserInfo `json:"before_user_info"`
AfterUserInfo AfterUserInfo `json:"after_user_info"` AfterUserInfo AfterUserInfo `json:"after_user_info"`
NextLevelInfo []NextLevelInfo `json:"next_level_info"` NextLevelInfo []NextLevelInfo `json:"next_level_info"`
GoalAccompInfo GoalAccompInfo `json:"goal_accomp_info"` GoalAccompInfo GoalAccompInfo `json:"goal_accomp_info"`
SpecialRewardInfo []interface{} `json:"special_reward_info"` SpecialRewardInfo []any `json:"special_reward_info"`
EventInfo []interface{} `json:"event_info"` EventInfo []any `json:"event_info"`
DailyRewardInfo []interface{} `json:"daily_reward_info"` DailyRewardInfo []any `json:"daily_reward_info"`
CanSendFriendRequest bool `json:"can_send_friend_request"` CanSendFriendRequest bool `json:"can_send_friend_request"`
UsingBuffInfo []interface{} `json:"using_buff_info"` UsingBuffInfo []any `json:"using_buff_info"`
ClassSystem ClassSystem `json:"class_system"` ClassSystem ClassSystem `json:"class_system"`
AccomplishedAchievementList []AccomplishedAchievementList `json:"accomplished_achievement_list"` AccomplishedAchievementList []AccomplishedAchievementList `json:"accomplished_achievement_list"`
UnaccomplishedAchievementCnt int `json:"unaccomplished_achievement_cnt"` UnaccomplishedAchievementCnt int `json:"unaccomplished_achievement_cnt"`
AddedAchievementList []interface{} `json:"added_achievement_list"` AddedAchievementList []any `json:"added_achievement_list"`
MuseumInfo Museum `json:"museum_info"` MuseumInfo Museum `json:"museum_info"`
UnitSupportList []RewardUnitSupportList `json:"unit_support_list"` UnitSupportList []RewardUnitSupportList `json:"unit_support_list"`
ServerTimestamp int `json:"server_timestamp"` ServerTimestamp int `json:"server_timestamp"`
@@ -623,9 +623,9 @@ type RewardRes struct {
// RewardResp ... // RewardResp ...
type RewardResp struct { type RewardResp struct {
ResponseData RewardRes `json:"response_data"` ResponseData RewardRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// LiveSeInfoRes ... // LiveSeInfoRes ...
+4 -4
View File
@@ -2,10 +2,10 @@ package model
// Data ... // Data ...
type Data struct { type Data struct {
Version int `json:"version"` Version int `json:"version"`
Team []Team `json:"team"` Team []Team `json:"team"`
Gemstock interface{} `json:"gemstock"` Gemstock any `json:"gemstock"`
Submember []interface{} `json:"submember"` Submember []any `json:"submember"`
} }
// Accessory ... // Accessory ...
+3 -3
View File
@@ -13,7 +13,7 @@ type LoginRes struct {
// LoginResp ... // LoginResp ...
type LoginResp struct { type LoginResp struct {
ResponseData LoginRes `json:"response_data"` ResponseData LoginRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
+4 -4
View File
@@ -2,8 +2,8 @@ package model
// MarathonInfoResp ... // MarathonInfoResp ...
type MarathonInfoResp struct { type MarathonInfoResp struct {
Result []interface{} `json:"result"` Result []any `json:"result"`
Status int `json:"status"` Status int `json:"status"`
CommandNum bool `json:"commandNum"` CommandNum bool `json:"commandNum"`
TimeStamp int64 `json:"timeStamp"` TimeStamp int64 `json:"timeStamp"`
} }
+2 -2
View File
@@ -19,7 +19,7 @@ type MultiUnitScenarioStatusList struct {
// MultiUnitScenarioStatusRes ... // MultiUnitScenarioStatusRes ...
type MultiUnitScenarioStatusRes struct { type MultiUnitScenarioStatusRes struct {
MultiUnitScenarioStatusList []MultiUnitScenarioStatusList `json:"multi_unit_scenario_status_list"` MultiUnitScenarioStatusList []MultiUnitScenarioStatusList `json:"multi_unit_scenario_status_list"`
UnlockedMultiUnitScenarioIds []interface{} `json:"unlocked_multi_unit_scenario_ids"` UnlockedMultiUnitScenarioIds []any `json:"unlocked_multi_unit_scenario_ids"`
} }
// MultiUnitScenarioStatusResp ... // MultiUnitScenarioStatusResp ...
@@ -33,7 +33,7 @@ type MultiUnitScenarioStatusResp struct {
// MultiUnitStartUpResp ... // MultiUnitStartUpResp ...
type MultiUnitStartUpResp struct { type MultiUnitStartUpResp struct {
ResponseData MultiUnitStartUpRes `json:"response_data"` ResponseData MultiUnitStartUpRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
+3 -3
View File
@@ -2,9 +2,9 @@ package model
// MuseumResp ... // MuseumResp ...
type MuseumResp struct { type MuseumResp struct {
ResponseData MuseumRes `json:"response_data"` ResponseData MuseumRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// MuseumParameter ... // MuseumParameter ...
+1 -1
View File
@@ -2,7 +2,7 @@ package model
// SpecialCutinRes ... // SpecialCutinRes ...
type SpecialCutinRes struct { type SpecialCutinRes struct {
SpecialCutinList []interface{} `json:"special_cutin_list"` SpecialCutinList []any `json:"special_cutin_list"`
} }
// SpecialCutinResp ... // SpecialCutinResp ...
+15 -15
View File
@@ -3,50 +3,50 @@ package model
// NoticeFriendVarietyResp ... // NoticeFriendVarietyResp ...
type NoticeFriendVarietyResp struct { type NoticeFriendVarietyResp struct {
ResponseData NoticeFriendVarietyRes `json:"response_data"` ResponseData NoticeFriendVarietyRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// NoticeFriendVarietyRes ... // NoticeFriendVarietyRes ...
type NoticeFriendVarietyRes struct { type NoticeFriendVarietyRes struct {
ItemCount int `json:"item_count"` ItemCount int `json:"item_count"`
NoticeList []interface{} `json:"notice_list"` NoticeList []any `json:"notice_list"`
ServerTimestamp int64 `json:"server_timestamp"` ServerTimestamp int64 `json:"server_timestamp"`
} }
// NoticeFriendGreetingResp ... // NoticeFriendGreetingResp ...
type NoticeFriendGreetingResp struct { type NoticeFriendGreetingResp struct {
ResponseData NoticeFriendGreetingRes `json:"response_data"` ResponseData NoticeFriendGreetingRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// NoticeFriendGreetingRes ... // NoticeFriendGreetingRes ...
type NoticeFriendGreetingRes struct { type NoticeFriendGreetingRes struct {
NextId int `json:"next_id"` NextId int `json:"next_id"`
NoticeList []interface{} `json:"notice_list"` NoticeList []any `json:"notice_list"`
ServerTimestamp int64 `json:"server_timestamp"` ServerTimestamp int64 `json:"server_timestamp"`
} }
// NoticeUserGreetingResp ... // NoticeUserGreetingResp ...
type NoticeUserGreetingResp struct { type NoticeUserGreetingResp struct {
ResponseData NoticeUserGreetingRes `json:"response_data"` ResponseData NoticeUserGreetingRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// NoticeUserGreetingRes ... // NoticeUserGreetingRes ...
type NoticeUserGreetingRes struct { type NoticeUserGreetingRes struct {
ItemCount int `json:"item_count"` ItemCount int `json:"item_count"`
HasNext bool `json:"has_next"` HasNext bool `json:"has_next"`
NoticeList []interface{} `json:"notice_list"` NoticeList []any `json:"notice_list"`
ServerTimestamp int64 `json:"server_timestamp"` ServerTimestamp int64 `json:"server_timestamp"`
} }
// NoticeMarqueeRes ... // NoticeMarqueeRes ...
type NoticeMarqueeRes struct { type NoticeMarqueeRes struct {
ItemCount int `json:"item_count"` ItemCount int `json:"item_count"`
MarqueeList []interface{} `json:"marquee_list"` MarqueeList []any `json:"marquee_list"`
} }
// NoticeMarqueeResp ... // NoticeMarqueeResp ...
+10 -10
View File
@@ -7,10 +7,10 @@ type RestrictionInfo struct {
// UnderAgeInfo ... // UnderAgeInfo ...
type UnderAgeInfo struct { type UnderAgeInfo struct {
BirthSet bool `json:"birth_set"` BirthSet bool `json:"birth_set"`
HasLimit bool `json:"has_limit"` HasLimit bool `json:"has_limit"`
LimitAmount interface{} `json:"limit_amount"` LimitAmount any `json:"limit_amount"`
MonthUsed int `json:"month_used"` MonthUsed int `json:"month_used"`
} }
// SnsProductItemList ... // SnsProductItemList ...
@@ -137,18 +137,18 @@ type ProductListResp struct {
// ProductResp ... // ProductResp ...
type ProductResp struct { type ProductResp struct {
ResponseData ProductRes `json:"response_data"` ResponseData ProductRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// ProductRes ... // ProductRes ...
type ProductRes struct { type ProductRes struct {
RestrictionInfo RestrictionInfo `json:"restriction_info"` RestrictionInfo RestrictionInfo `json:"restriction_info"`
UnderAgeInfo UnderAgeInfo `json:"under_age_info"` UnderAgeInfo UnderAgeInfo `json:"under_age_info"`
SnsProductList []interface{} `json:"sns_product_list"` SnsProductList []any `json:"sns_product_list"`
ProductList []interface{} `json:"product_list"` ProductList []any `json:"product_list"`
SubscriptionList []interface{} `json:"subscription_list"` SubscriptionList []any `json:"subscription_list"`
ShowPointShop bool `json:"show_point_shop"` ShowPointShop bool `json:"show_point_shop"`
ServerTimestamp int64 `json:"server_timestamp"` ServerTimestamp int64 `json:"server_timestamp"`
} }
+1 -1
View File
@@ -3,7 +3,7 @@ package model
// PersonalNoticeResp ... // PersonalNoticeResp ...
type PersonalNoticeResp struct { type PersonalNoticeResp struct {
ResponseData PersonalNoticeRes `json:"response_data"` ResponseData PersonalNoticeRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
+3 -3
View File
@@ -2,7 +2,7 @@ package model
// AwardSetResp ... // AwardSetResp ...
type ProfileRegisterResp struct { type ProfileRegisterResp struct {
ResponseData []interface{} `json:"response_data"` ResponseData []any `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
+4 -4
View File
@@ -28,7 +28,7 @@ type SubscenarioStatusList struct {
// SubscenarioStatusRes ... // SubscenarioStatusRes ...
type SubscenarioStatusRes struct { type SubscenarioStatusRes struct {
SubscenarioStatusList []SubscenarioStatusList `json:"subscenario_status_list"` SubscenarioStatusList []SubscenarioStatusList `json:"subscenario_status_list"`
UnlockedSubscenarioIds []interface{} `json:"unlocked_subscenario_ids"` UnlockedSubscenarioIds []any `json:"unlocked_subscenario_ids"`
} }
// SubscenarioStatusResp ... // SubscenarioStatusResp ...
@@ -75,9 +75,9 @@ type EventScenarioStatusResp struct {
// ScenarioResp ... // ScenarioResp ...
type ScenarioResp struct { type ScenarioResp struct {
ResponseData ScenarioRes `json:"response_data"` ResponseData ScenarioRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// ScenarioRes ... // ScenarioRes ...
+1 -1
View File
@@ -3,7 +3,7 @@ package model
// SubScenarioResp ... // SubScenarioResp ...
type SubScenarioResp struct { type SubScenarioResp struct {
ResponseData SubScenarioRes `json:"response_data"` ResponseData SubScenarioRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
+4 -4
View File
@@ -76,10 +76,10 @@ type DifficultyResp struct {
// LoveResp ... // LoveResp ...
type LoveResp struct { type LoveResp struct {
Result []interface{} `json:"result"` Result []any `json:"result"`
Status int `json:"status"` Status int `json:"status"`
CommandNum bool `json:"commandNum"` CommandNum bool `json:"commandNum"`
TimeStamp int64 `json:"timeStamp"` TimeStamp int64 `json:"timeStamp"`
} }
// AccessoryInfo ... // AccessoryInfo ...
+5 -5
View File
@@ -2,10 +2,10 @@ package model
// TopInfoLicenseInfo ... // TopInfoLicenseInfo ...
type TopInfoLicenseInfo struct { type TopInfoLicenseInfo struct {
LicenseList []interface{} `json:"license_list"` LicenseList []any `json:"license_list"`
LicensedInfo []interface{} `json:"licensed_info"` LicensedInfo []any `json:"licensed_info"`
ExpiredInfo []interface{} `json:"expired_info"` ExpiredInfo []any `json:"expired_info"`
BadgeFlag bool `json:"badge_flag"` BadgeFlag bool `json:"badge_flag"`
} }
// TopInfoRes ... // TopInfoRes ...
@@ -24,7 +24,7 @@ type TopInfoRes struct {
FriendsRequestCnt int `json:"friends_request_cnt"` FriendsRequestCnt int `json:"friends_request_cnt"`
IsTodayBirthday bool `json:"is_today_birthday"` IsTodayBirthday bool `json:"is_today_birthday"`
LicenseInfo TopInfoLicenseInfo `json:"license_info"` LicenseInfo TopInfoLicenseInfo `json:"license_info"`
UsingBuffInfo []interface{} `json:"using_buff_info"` UsingBuffInfo []any `json:"using_buff_info"`
IsKlabIDTaskFlag bool `json:"is_klab_id_task_flag"` IsKlabIDTaskFlag bool `json:"is_klab_id_task_flag"`
KlabIDTaskCanSync bool `json:"klab_id_task_can_sync"` KlabIDTaskCanSync bool `json:"klab_id_task_can_sync"`
HasUnreadAnnounce bool `json:"has_unread_announce"` HasUnreadAnnounce bool `json:"has_unread_announce"`
+3 -3
View File
@@ -2,9 +2,9 @@ package model
// TosResp ... // TosResp ...
type TosResp struct { type TosResp struct {
ResponseData TosRes `json:"response_data"` ResponseData TosRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// TosResp ... // TosResp ...
+14 -14
View File
@@ -66,9 +66,9 @@ type AccessoryWearData struct {
// AccessoryWearResp ... // AccessoryWearResp ...
type AccessoryWearResp struct { type AccessoryWearResp struct {
ResponseData []interface{} `json:"response_data"` ResponseData []any `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// SkillEquipReq ... // SkillEquipReq ...
@@ -121,23 +121,23 @@ type SkillEquipList struct {
// SkillEquipResp ... // SkillEquipResp ...
type SkillEquipResp struct { type SkillEquipResp struct {
ResponseData []interface{} `json:"response_data"` ResponseData []any `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// SetDisplayRankResp ... // SetDisplayRankResp ...
type SetDisplayRankResp struct { type SetDisplayRankResp struct {
ResponseData []interface{} `json:"response_data"` ResponseData []any `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// SetDeckResp ... // SetDeckResp ...
type SetDeckResp struct { type SetDeckResp struct {
ResponseData []interface{} `json:"response_data"` ResponseData []any `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// Costume ... // Costume ...
@@ -270,8 +270,8 @@ type OwningInfo struct {
// RemovableSkillRes ... // RemovableSkillRes ...
type RemovableSkillRes struct { type RemovableSkillRes struct {
OwningInfo []OwningInfo `json:"owning_info"` OwningInfo []OwningInfo `json:"owning_info"`
EquipmentInfo map[int]interface{} `json:"equipment_info"` EquipmentInfo map[int]any `json:"equipment_info"`
} }
// RemovableSkillResp ... // RemovableSkillResp ...
+7 -7
View File
@@ -2,15 +2,15 @@ package model
// UserNaviResp ... // UserNaviResp ...
type UserNaviChangeResp struct { type UserNaviChangeResp struct {
ResponseData []interface{} `json:"response_data"` ResponseData []any `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// UserNameChangeResp ... // UserNameChangeResp ...
type UserNameChangeResp struct { type UserNameChangeResp struct {
ResponseData UserNameChangeRes `json:"response_data"` ResponseData UserNameChangeRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
@@ -42,7 +42,7 @@ type UserNaviResp struct {
// NotificationResp ... // NotificationResp ...
type NotificationResp struct { type NotificationResp struct {
ResponseData []interface{} `json:"response_data"` ResponseData []any `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
+3 -3
View File
@@ -2,9 +2,9 @@ package model
// UserInfoResp ... // UserInfoResp ...
type UserInfoResp struct { type UserInfoResp struct {
ResponseData UserInfoRes `json:"response_data"` ResponseData UserInfoRes `json:"response_data"`
ReleaseInfo []interface{} `json:"release_info"` ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"` StatusCode int `json:"status_code"`
} }
// UserInfoRes ... // UserInfoRes ...
+3 -3
View File
@@ -116,7 +116,7 @@ var errorsMapMutex sync.Mutex
var errors uint var errors uint
// Too bad for perf that a... is evaluated // Too bad for perf that a... is evaluated
func Error(t string, s string, a ...interface{}) { func Error(t string, s string, a ...any) {
errorsMapMutex.Lock() errorsMapMutex.Lock()
errors++ errors++
errorsMap[t] = errorsMap[t] + 1 errorsMap[t] = errorsMap[t] + 1
@@ -125,12 +125,12 @@ func Error(t string, s string, a ...interface{}) {
fmt.Printf(s, a...) fmt.Printf(s, a...)
} }
} }
func Info(s string, a ...interface{}) { func Info(s string, a ...any) {
if outputLevel >= 1 { if outputLevel >= 1 {
fmt.Printf(s, a...) fmt.Printf(s, a...)
} }
} }
func Debug(s string, a ...interface{}) { func Debug(s string, a ...any) {
if outputLevel >= 2 { if outputLevel >= 2 {
fmt.Printf(s, a...) fmt.Printf(s, a...)
} }