Parcourir la source

update

add_mode
DengBiao il y a 1 an
Parent
révision
3dd4c6a566
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. +2
    -2
      app/customer/svc/order/svc_central_kitchen_for_school_order.go
  2. +1
    -1
      app/router/customer_router.go

+ 2
- 2
app/customer/svc/order/svc_central_kitchen_for_school_order.go Voir le fichier

@@ -198,7 +198,7 @@ func CentralKitchenForSchoolMyReserve(userIdentityId int, date, startDate, endDa
totalLunch++
dateMap[v.Date].LunchTotal++
if v.State == enum.CentralKitchenForSchoolUserWithDayStateForWait {
dateMap[v.Date].LunchOrdNoList = append(dateMap[v.Date].BreakfastOrdNoList, struct {
dateMap[v.Date].LunchOrdNoList = append(dateMap[v.Date].LunchOrdNoList, struct {
OutTradeNo string `json:"out_trade_no" label:"业务订单号"`
Id int `json:"id" label:"就餐记录id"`
}{OutTradeNo: v.OrdNo, Id: v.Id})
@@ -208,7 +208,7 @@ func CentralKitchenForSchoolMyReserve(userIdentityId int, date, startDate, endDa
dateMap[v.Date].DinnerTotal++
totalDinner++
if v.State == enum.CentralKitchenForSchoolUserWithDayStateForWait {
dateMap[v.Date].DinnerOrdNoList = append(dateMap[v.Date].BreakfastOrdNoList, struct {
dateMap[v.Date].DinnerOrdNoList = append(dateMap[v.Date].DinnerOrdNoList, struct {
OutTradeNo string `json:"out_trade_no" label:"业务订单号"`
Id int `json:"id" label:"就餐记录id"`
}{OutTradeNo: v.OrdNo, Id: v.Id})


+ 1
- 1
app/router/customer_router.go Voir le fichier

@@ -26,7 +26,7 @@ func CustomerInit(r *gin.RouterGroup) {
r.GET("/wxGetAccessToken", hdl.WxGetAccessToken)
r.POST("/wxDecryptUserInfo", hdl.WxDecryptUserInfo)
r.POST("/wxDecryptMobile", hdl.WxDecryptMobile)
r.POST("/wxPay", hdl.WxPay)
r.POST("/wxPay", hdl.Wx)

r.POST("/register", hdl.Register)
r.POST("/aesDecrypt", hdl.AesDecrypt)


Chargement…
Annuler
Enregistrer