Kaynağa Gözat

fix:芝麻报告邮件发送

duxin 4 gün önce
ebeveyn
işleme
ff797b2cf1

+ 1 - 2
src/jfw/modules/subscribepay/src/service/bidCreditReport.go

@@ -514,12 +514,11 @@ func (t *BidCreditReport) ZmComboConsumption() error {
 		rid  int64
 		mail string
 	)
-	order := util.Mysql.FindOne("dataexport_order", map[string]interface{}{"user_id": userId, "product_type": consts.ZmAnalysisReportProductName}, "user_mail", " order by create_time desc")
+	order := util.Mysql.FindOne("dataexport_order", map[string]interface{}{"user_id": userId, "product_type": consts.ZmAnalysisReportProductName}, "user_mail", "  create_time desc")
 	if order != nil && len(*order) > 0 {
 		mail = gconv.String((*order)["user_mail"])
 	}
 	if !util.Mysql.ExecTx("扣除芝麻服务", func(tx *sql.Tx) bool {
-
 		rid = util.Mysql.InsertByTx(tx, "bid_credit_report", map[string]interface{}{
 			"user_id":      userId,
 			"ent_name":     entName,