From 9447fc8929b475821c4c3b60823ff9e23f57bc68 Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 5 Mar 2019 14:24:07 +0800 Subject: [PATCH] - don't return AuthSecret and AuthSecret2 --- business/model/auth2.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/model/auth2.go b/business/model/auth2.go index f46437d7d..10afcef28 100644 --- a/business/model/auth2.go +++ b/business/model/auth2.go @@ -14,8 +14,8 @@ type AuthBind struct { AuthID string `orm:"size(48);column(auth_id)" json:"authID"` AuthID2 string `orm:"size(48);column(auth_id2);index" json:"authID2"` - AuthSecret string `orm:"size(48)" json:"authSecret"` - AuthSecret2 string `orm:"size(48)" json:"authSecret2"` + AuthSecret string `orm:"size(48)" json:"-"` + AuthSecret2 string `orm:"size(48)" json:"-"` Remark string `orm:"size(255)" json:"remark"` DetailData string `orm:"type(text)" json:"detailData"`