Browse Source

合并了repRead和ecRead

gitlink
17BaoH 2 years ago
parent
commit
dee4951681
2 changed files with 2 additions and 2 deletions
  1. BIN
      agent
  2. +2
    -2
      commandSever.go

BIN
agent View File


+ 2
- 2
commandSever.go View File

@@ -87,7 +87,7 @@ func RepMove(command rabbitmq.RepMoveCommand) {
Hashs: hashs,
}
c,_=json.Marshal(command1)
b:=append([]byte("07"),c...)
b:=append([]byte("06"),c...)
fmt.Println(b)
rabbit := rabbitmq.NewRabbitMQSimple("coorQueue")
rabbit.PublishSimple(b)
@@ -114,7 +114,7 @@ func EcMove(command rabbitmq.EcMoveCommand) {
Hashs: hashs,
}
c,_=json.Marshal(command1)
b:=append([]byte("07"),c...)
b:=append([]byte("06"),c...)
fmt.Println(b)
rabbit := rabbitmq.NewRabbitMQSimple("coorQueue")
rabbit.PublishSimple(b)


Loading…
Cancel
Save