Browse Source

update

tmp
DengBiao 11 months ago
parent
commit
e953ef9c68
2 changed files with 2 additions and 2 deletions
  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 View File

@@ -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 View File

@@ -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
}

Loading…
Cancel
Save