fix:订单列表
This commit is contained in:
parent
17dc892c07
commit
11ef2223d3
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue
Block a user