This commit is contained in:
laodaming 2023-06-20 16:43:38 +08:00
parent 73eef005ec
commit 4decb11321
3 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ func (l *GetMapLibraryListLogic) GetMapLibraryList(userinfo *auth.UserInfo) (res
}
}
//解析info
var info types.Info
var info interface{}
if err = json.Unmarshal([]byte(*v.Info), &info); err != nil {
logx.Error(err)
return resp.SetStatusWithMessage(basic.CodeServiceErr, "json parse info err")

View File

@ -9,7 +9,7 @@ type GetMapLibraryListRsp struct {
Mid int64 `json:"mid"`
Ctime string `json:"ctime"`
Tag MapLibraryListTag `json:"tag"`
Info Info `json:"info"`
Info interface{} `json:"info"`
}
type MapLibraryListTag struct {

View File

@ -22,7 +22,7 @@ type GetMapLibraryListRsp {
Mid int64 `json:"mid"`
Ctime string `json:"ctime"`
Tag MapLibraryListTag `json:"tag"`
Info Info `json:"info"`
Info interface{} `json:"info"`
}
type MapLibraryListTag {
Id int64 `json:"id"`