wangfei il y a 6 ans
Parent
révision
983782cbc8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      service/goods/orders.go

+ 1
- 1
service/goods/orders.go Voir le fichier

@@ -90,7 +90,7 @@ func (s *GoodsServ) ConfirmOrder(ordersID, customercouponid, remark string) erro
90 90
 		return errors.New("订单已付款,请勿重复付款!")
91 91
 	}
92 92
 
93
-	if info.Remark == "" {
93
+	if info.Remark != "" {
94 94
 		info.Remark = remark
95 95
 	}
96 96