portowyi 1 year ago
parent
commit
bed611f79d
1 changed files with 2 additions and 0 deletions
  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,