From c4aa2c79e83d2bb64a2059a2c259cde39e5c81e5 Mon Sep 17 00:00:00 2001 From: jiangyong27 Date: Sat, 8 Apr 2023 21:01:22 +0800 Subject: [PATCH] notify2 --- worker/dadi.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worker/dadi.go b/worker/dadi.go index dce7224..a6c67be 100644 --- a/worker/dadi.go +++ b/worker/dadi.go @@ -106,11 +106,13 @@ func (d *Dadi) NewOrder(order *model.Order) { message = append(message, fmt.Sprintf("城市:%s", order.CityName)) message = append(message, fmt.Sprintf("影院:%s", order.CinemaName)) message = append(message, fmt.Sprintf("影厅:%s", order.Ting)) + message = append(message, fmt.Sprintf("影片:%s", order.MovieName)) message = append(message, fmt.Sprintf("座位:%s,%s,%s", order.Seats, goutil.If(order.IsSeat == 3, "可以调座", "不可调座"), goutil.If(order.LoverSeat == 1, "情侣座", "普通座"))) message = append(message, fmt.Sprintf("订单编号:%s", order.OrderId)) message = append(message, fmt.Sprintf("订单金额:%.2f", float64(order.TotalPrice)/100)) + message = append(message, fmt.Sprintf("原价:%.2f", float64(order.MaoyanPrice)/100)) message = append(message, fmt.Sprintf("报价范围:%.2f~%.2f", float64(order.MinPrice)/100, float64(order.MaxPrice)/100)) message = append(message, fmt.Sprintf("订单时间:%s", time.Unix(order.PayTime, 0).Format("2006-01-02 15:04"))) message = append(message, fmt.Sprintf("放映时间:%s", time.Unix(order.ShowTime, 0).Format("2006-01-02 15:04")))