fix
This commit is contained in:
parent
73eef005ec
commit
4decb11321
|
@ -69,7 +69,7 @@ func (l *GetMapLibraryListLogic) GetMapLibraryList(userinfo *auth.UserInfo) (res
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//解析info
|
//解析info
|
||||||
var info types.Info
|
var info interface{}
|
||||||
if err = json.Unmarshal([]byte(*v.Info), &info); err != nil {
|
if err = json.Unmarshal([]byte(*v.Info), &info); err != nil {
|
||||||
logx.Error(err)
|
logx.Error(err)
|
||||||
return resp.SetStatusWithMessage(basic.CodeServiceErr, "json parse info err")
|
return resp.SetStatusWithMessage(basic.CodeServiceErr, "json parse info err")
|
||||||
|
|
|
@ -9,7 +9,7 @@ type GetMapLibraryListRsp struct {
|
||||||
Mid int64 `json:"mid"`
|
Mid int64 `json:"mid"`
|
||||||
Ctime string `json:"ctime"`
|
Ctime string `json:"ctime"`
|
||||||
Tag MapLibraryListTag `json:"tag"`
|
Tag MapLibraryListTag `json:"tag"`
|
||||||
Info Info `json:"info"`
|
Info interface{} `json:"info"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type MapLibraryListTag struct {
|
type MapLibraryListTag struct {
|
||||||
|
|
|
@ -22,7 +22,7 @@ type GetMapLibraryListRsp {
|
||||||
Mid int64 `json:"mid"`
|
Mid int64 `json:"mid"`
|
||||||
Ctime string `json:"ctime"`
|
Ctime string `json:"ctime"`
|
||||||
Tag MapLibraryListTag `json:"tag"`
|
Tag MapLibraryListTag `json:"tag"`
|
||||||
Info Info `json:"info"`
|
Info interface{} `json:"info"`
|
||||||
}
|
}
|
||||||
type MapLibraryListTag {
|
type MapLibraryListTag {
|
||||||
Id int64 `json:"id"`
|
Id int64 `json:"id"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user