portowyi пре 1 година
родитељ
комит
bed611f79d
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      cron-job/cronJobs.go

+ 2 - 0
cron-job/cronJobs.go

@@ -83,6 +83,8 @@ func CreateXMLFeed() {
 
 	for _, value := range rows {
 		var offer = Offer{
+			Id:         value.CodeUT10,
+			Avalieble:  "true",
 			Name:       value.Name,
 			URL:        "https://b2bn.kngnn.ru/?item-code=" + value.CodeUT10,
 			CategoryId: value.CategoryId,