DengBiao 10 månader sedan
förälder
incheckning
e953ef9c68
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. +1
    -1
      app/customer/md/md_order.go
  2. +1
    -1
      app/customer/svc/order/svc_central_kitchen_for_school_order.go

+ 1
- 1
app/customer/md/md_order.go Visa fil

@@ -66,7 +66,7 @@ type CentralKitchenForSchoolMyReserveRespList struct {

type CentralKitchenForSchoolMyReserveListResp struct {
Date string `json:"date" label:"日期"`
TotalAmount float64 `json:"total_amount" label:"总计金额"`
TotalAmount string `json:"total_amount" label:"总计金额"`
List []CentralKitchenForSchoolMyReserveListRespList `json:"list" label:"列表"`
}



+ 1
- 1
app/customer/svc/order/svc_central_kitchen_for_school_order.go Visa fil

@@ -297,6 +297,6 @@ func CentralKitchenForSchoolMyReserveList(userIdentityId int, date, startDate, e
resp.List = append(resp.List, *dateMap[value])
}

resp.TotalAmount = totalAmount
resp.TotalAmount = utils.AnyToString(totalAmount)
return
}

Laddar…
Avbryt
Spara