修正 获取服务包订单服务权益详情 中1
This commit is contained in:
@@ -231,10 +231,10 @@ func (r *OrderServicePackageDetailInfoDto) LoadOrderServicePackageProduct(m []*m
|
||||
if len(m) > 0 {
|
||||
responses := make([]*OrderProductDto, len(m))
|
||||
|
||||
for i, inquiry := range m {
|
||||
if inquiry.OrderProduct != nil {
|
||||
for i, product := range m {
|
||||
if product.OrderProduct != nil {
|
||||
// 将转换后的结构体添加到新切片中
|
||||
response := GetOrderProductDto(inquiry.OrderProduct)
|
||||
response := GetOrderProductDto(product.OrderProduct)
|
||||
|
||||
// 将转换后的结构体添加到新切片中
|
||||
responses[i] = response
|
||||
|
||||
Reference in New Issue
Block a user