From d42b09cda8b2bc58c43c200f3aabdb0b2a7e9211 Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期五, 12 七月 2019 12:02:14 +0800
Subject: [PATCH] fix search controllers

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