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,