Browse Source

修改数据类型

master v0.2.1
guzeng 2 years ago
parent
commit
db7fa46c30
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      common.go
  2. +1
    -1
      send_delay.go

+ 1
- 1
common.go View File

@ -11,7 +11,7 @@ type DelayMsgBody struct {
Exchange string
Key string
Data string
Delay int
Delay int64
}
type MsgSend struct {
Result string


+ 1
- 1
send_delay.go View File

@ -11,7 +11,7 @@ import (
"github.com/golang/protobuf/proto"
)
func SendDelay(exchange, key string, data interface{}, delay int, url ...string) (*MsgSend, error) {
func SendDelay(exchange, key string, data interface{}, delay int64, url ...string) (*MsgSend, error) {
conn, err := rpc_server_conn(url...)
if err != nil {


Loading…
Cancel
Save