From 19714213d70bb07cc2357ff96ad90c1e84ae519e Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期一, 14 十月 2019 13:46:20 +0800 Subject: [PATCH] fix pllconfig int to int32 --- controllers/pollConfig.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/pollConfig.go b/controllers/pollConfig.go index 014a071..4efe3b8 100644 --- a/controllers/pollConfig.go +++ b/controllers/pollConfig.go @@ -13,8 +13,8 @@ type PollConfig struct { ServerId string `json:"server_id"` //鏈嶅姟鍣╥d - PollPeriod int `json:"poll_period"` //杞鍛ㄦ湡 - Delay int `json:"delay"` //寤舵椂鏃堕棿 + PollPeriod int32 `json:"poll_period"` //杞鍛ㄦ湡 + Delay int32 `json:"delay"` //寤舵椂鏃堕棿 Enable bool `json:"enable"` //鏄惁鍚敤杞 } -- Gitblit v1.8.0