fix
This commit is contained in:
parent
73eef005ec
commit
4decb11321
|
@ -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")
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user