From d8a5263b2306889d40ea0b0be559eda9f942301c Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 05 七月 2019 16:17:11 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.1.14:10010/r/webserver --- models/model.go | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/models/model.go b/models/model.go index 38534c5..fec50f8 100644 --- a/models/model.go +++ b/models/model.go @@ -6,9 +6,9 @@ Id string `gorm:"primary_key" json:"id" example:"XeW0HmoBevddG23Ild5o"` CreateTime string `json:"createTime,omitempty" example:""` UpdateTime string `json:"updateTime,omitempty" example:""` - CreateBy string `json:"createBy" example:""` - IsDelete int `json:"isDelete" example:"0 鏈垹闄� 1宸插垹闄�"` - Enable int `json:"enable" example:" 1鐢熸晥 0鏈敓鏁�"` + CreateBy string `json:"createBy,omitempty" example:""` + IsDelete int `json:"isDelete,omitempty" example:"0 鏈垹闄� 1宸插垹闄�"` + Enable int `json:"enable,omitempty" example:" 1鐢熸晥 0鏈敓鏁�"` } func (dp *BaseEntity) PriInsert() { -- Gitblit v1.8.0