diff --git a/pkg/service/bundle/bundleBalance.go b/pkg/service/bundle/bundleBalance.go index d445faa..9d95676 100644 --- a/pkg/service/bundle/bundleBalance.go +++ b/pkg/service/bundle/bundleBalance.go @@ -2,6 +2,7 @@ package bundle import ( "context" + "encoding/json" "errors" "fmt" "fonchain-fiee/api/bundle" @@ -393,5 +394,7 @@ func GetBalanceLayout(ctx *gin.Context) { service.Error(ctx, err) return } - service.Success(ctx, res.Data) + var j any + json.Unmarshal([]byte(res.Data), &j) + service.Success(ctx, j) }