From 00c6fb6a7196832f46bbce513b58bc6d9a3c9fa5 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期二, 23 七月 2019 19:29:03 +0800 Subject: [PATCH] add permissions --- 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