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 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model.go b/models/model.go index fec50f8..7d86219 100644 --- a/models/model.go +++ b/models/model.go @@ -7,8 +7,8 @@ CreateTime string `json:"createTime,omitempty" example:""` UpdateTime string `json:"updateTime,omitempty" example:""` CreateBy string `json:"createBy,omitempty" example:""` - IsDelete int `json:"isDelete,omitempty" example:"0 鏈垹闄� 1宸插垹闄�"` - Enable int `json:"enable,omitempty" example:" 1鐢熸晥 0鏈敓鏁�"` + IsDelete int `json:"isDelete" example:"0 鏈垹闄� 1宸插垹闄�"` + Enable int `json:"enable" example:" 1鐢熸晥 0鏈敓鏁�"` } func (dp *BaseEntity) PriInsert() { -- Gitblit v1.8.0