| | |
| | | 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"` // 本地调试, 取本地数据 |
| | | } |
| | |
| | | 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 |
| | | } |