From 2fe6da0384eed4e94257c2c6904a94822dc7e935 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 6 Sep 2024 09:43:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/super/implement/user_app_domain_implement.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/super/implement/user_app_domain_implement.go b/src/super/implement/user_app_domain_implement.go index fd1564e..9cc70f0 100644 --- a/src/super/implement/user_app_domain_implement.go +++ b/src/super/implement/user_app_domain_implement.go @@ -1,4 +1,4 @@ -package implement +package implement import ( "code.fnuoos.com/zhimeng/model.git/src/super/dao" @@ -27,7 +27,7 @@ func (u UserAppDomainDb) GetAppDomainByHost(host string) (m *model.UserAppDomain return m, nil } -func (u UserAppDomainDb) GetAppDomainByType(masterId, kind string) (m *model.UserAppDomain, err error) { +func (u UserAppDomainDb) GetAppDomainByType(kind, masterId string) (m *model.UserAppDomain, err error) { m = new(model.UserAppDomain) has, err := u.Db.Where("type =?", kind).And("uuid =?", masterId).Get(m) if err != nil {