Dynamically generate api data for now
Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
+8
-1
@@ -8,9 +8,16 @@ type MuseumInfoParameter struct {
|
||||
|
||||
type MuseumInfo struct {
|
||||
Parameter MuseumInfoParameter `json:"parameter"`
|
||||
ContentsIDList []interface{} `json:"contents_id_list"`
|
||||
ContentsIDList []int `json:"contents_id_list"`
|
||||
}
|
||||
|
||||
type MuseumInfoResult struct {
|
||||
MuseumInfo MuseumInfo `json:"museum_info"`
|
||||
}
|
||||
|
||||
type MuseumInfoResp struct {
|
||||
Result MuseumInfoResult `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user