xingzai 1 yıl önce
ebeveyn
işleme
052c823409
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      services/order.go

+ 1 - 1
services/order.go

@@ -182,6 +182,7 @@ func GetActivityOrderListLabelKeywordByActivityIds(activityIds []int) (mapResp m
 		err = errors.New("GetActivityListByCondition, Err: " + e.Error())
 		return
 	}
+	mapResp = make(map[int]string, 0)
 	for _, v := range listActivity {
 		switch v.ActivityTypeId {
 		case 1:
@@ -194,6 +195,5 @@ func GetActivityOrderListLabelKeywordByActivityIds(activityIds []int) (mapResp m
 			mapResp[v.ActivityId] = "买方交流"
 		}
 	}
-
 	return
 }