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,