From f86d25d5143847692779dd4e81b7e47d9b25376e Mon Sep 17 00:00:00 2001 From: sunty <suntianyu0923@163.com> Date: 星期二, 30 七月 2019 11:16:15 +0800 Subject: [PATCH] fix delete dbtable add GetTotalFromDb and EsReq --- models/model.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/models/model.go b/models/model.go index 38534c5..7d86219 100644 --- a/models/model.go +++ b/models/model.go @@ -6,7 +6,7 @@ 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:""` + CreateBy string `json:"createBy,omitempty" example:""` IsDelete int `json:"isDelete" example:"0 鏈垹闄� 1宸插垹闄�"` Enable int `json:"enable" example:" 1鐢熸晥 0鏈敓鏁�"` } -- Gitblit v1.8.0