This commit is contained in:
richboo111
2022-12-28 09:13:33 +08:00
parent c010986523
commit 654107f9a4

View File

@@ -154,6 +154,7 @@ func NewWatchOrderInfo(order *model.GoodsOrder) (retVal *WatchOrderInfo) {
func (s *WatchOrderInfo) SetOrder(order *model.GoodsOrder) (retVal *model.GoodsOrder) {
retVal = s.order
globals.SugarLogger.Debugf("SetOrder order==========%s", utils.Format4Output(order, false))
if s.order != order {
if order != nil {
s.updateOrderStoreFeature(order)