fix
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user