用户模块--logo列表调整返回

This commit is contained in:
Hiven 2023-08-03 14:55:56 +08:00
parent ddb93bae41
commit a864335c0e

View File

@ -65,7 +65,7 @@ func (l *UserLogoListLogic) UserLogoList(req *types.UserLogoListReq, userinfo *a
logx.Error(err)
return resp.SetStatusWithMessage(basic.CodeServiceErr, "failed to get data list")
}
return resp.SetStatus(basic.CodeOK, []interface{}{
list,
return resp.SetStatus(basic.CodeOK, map[string]interface{}{
"list": list,
})
}