From b9a5985f43429850d4a8538462df2b49071c23cc Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 10 七月 2019 18:19:07 +0800
Subject: [PATCH] fix PublicId
---
controllers/syssetcont.go | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/controllers/syssetcont.go b/controllers/syssetcont.go
index 9bb4cbc..bf26d51 100644
--- a/controllers/syssetcont.go
+++ b/controllers/syssetcont.go
@@ -29,14 +29,14 @@
}
type Gb28181ConfigVo struct {
- Id string `json:"Id" gorm:"primary_key" `
- ServerIp string `json:"ServerIp" example:"鍥芥爣鏈嶅姟鍣↖P" gorm:"column:ServerIp"`
- ServerPort int `json:"ServerPort" example:"鏈嶅姟鍣ㄧ鍙�:8060" gorm:"column:ServerPort"`
- PublicId string `json:"ServerId" example:"鍥芥爣鏈嶅姟鍣↖d" gorm:"column:PublicId"`
- GbServerPort int `json:"GbServerPort" example:"鍥芥爣鏈嶅姟绔彛:7060" gorm:"column:GbServerPort"`
- IsAuth bool `json:"IsAuth" example:"鏄惁寮�鍚壌鏉�:true" gorm:"column:IsAuth"`
- Password string `json:"Password" example:"瀵嗙爜" gorm:"column:Password"`
- UpdateTime string `json:"UpdateTime" gorm:"column:UpdateTime"`
+ Id string `json:"Id"`
+ ServerIp string `json:"ServerIp" example:"鍥芥爣鏈嶅姟鍣↖P"`
+ ServerPort int `json:"ServerPort" example:"鏈嶅姟鍣ㄧ鍙�:8060"`
+ PublicId string `json:"PublicId" example:"鍥芥爣鏈嶅姟鍣↖d"`
+ GbServerPort int `json:"GbServerPort" example:"鍥芥爣鏈嶅姟绔彛:7060"`
+ IsAuth bool `json:"IsAuth" example:"鏄惁寮�鍚壌鏉�:true"`
+ Password string `json:"Password" example:"瀵嗙爜"`
+ UpdateTime string `json:"UpdateTime"`
}
// @Summary 瀛樺偍淇℃伅鏌ヨ
--
Gitblit v1.8.0