fix:订单列表

This commit is contained in:
momo 2023-10-10 11:29:28 +08:00
parent 17dc892c07
commit 11ef2223d3

View File

@ -956,9 +956,11 @@ func (d *defaultOrder) List(ctx context.Context, in *ListReq) (res *ListRes, err
}
orderDetailList = append(orderDetailList, ress.OrderDetail)
}
} else {
}
if len(orderList) == 0 {
orderDetailList = make([]gmodel.OrderDetail, 0)
}
return &ListRes{
OrderDetailList: orderDetailList,
Meta: map[string]int64{