| | |
| | | inputProductMap := make(map[string]*response.StoreInfo) |
| | | outputProductMap := make(map[string]*response.OutputSimpleInfo) |
| | | for _, v := range grpcOutputList { |
| | | if productMap[v.Number] == nil { |
| | | continue |
| | | } |
| | | if outputProductMap[v.Number] == nil { |
| | | simpleInfo := &response.OutputSimpleInfo{ |
| | | Number: v.Number, |
| | |
| | | } |
| | | } |
| | | for _, v := range grpcInputList { |
| | | if productMap[v.Number] == nil { |
| | | continue |
| | | } |
| | | if inputProductMap[v.Number] == nil { |
| | | storeInfo := &response.StoreInfo{ |
| | | Number: v.Number, |
| | |
| | | "GrpcServiceAddr": { |
| | | "Aps": "192.168.20.119:9091", |
| | | "Admin": "192.168.20.119:50051", |
| | | "WMS": "192.168.20.120:8006", |
| | | "WMS": "192.168.20.119:8006", |
| | | "SRM": "192.168.20.119:9093" |
| | | } |
| | | } |