From 84ae2c7481f2c7f3628613f5f3c8d0b60b6bccc0 Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期五, 05 七月 2019 16:12:10 +0800
Subject: [PATCH] add picDesc

---
 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