浏览代码

update

tmp
DengBiao 10 个月前
父节点
当前提交
e953ef9c68
共有 2 个文件被更改,包括 2 次插入2 次删除
  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 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存