gigibox
2023-06-20 4983adc4d20798a980025be4cd45c77558c74265
config/config.go
@@ -19,6 +19,7 @@
   OrderTopic     string `json:"order_topic"`     // 订单上报的topic
   InventoryTopic string `json:"inventory_topic"` // 库存上报的topic
   QueryTopic     string `json:"query_topic"`     // 金蝶查询接口的topic
   ReplyTopic     string `json:"reply_topic"`     // 金蝶响应查询接口的topic
   SyncInterval   int    `json:"interval"`        // 同步的时间间隔, 单位/秒
   Debug          bool   `json:"debug"`           // 本地调试, 取本地数据
}
@@ -38,6 +39,7 @@
   Options.OrderTopic = "aps.factory.erp.seorder"
   Options.InventoryTopic = "aps.factory.erp.inventory"
   Options.QueryTopic = "aps.factory.erp.k3resource"
   Options.ReplyTopic = "aps.factory.erp.k3reply"
   Options.SyncInterval = 60
   Options.Debug = false
}