Browse Source

更新

master
huangjiajun 3 months ago
parent
commit
2fe6da0384
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/super/implement/user_app_domain_implement.go

+ 2
- 2
src/super/implement/user_app_domain_implement.go View File

@@ -1,4 +1,4 @@
package implement
package implement


import ( import (
"code.fnuoos.com/zhimeng/model.git/src/super/dao" "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 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) m = new(model.UserAppDomain)
has, err := u.Db.Where("type =?", kind).And("uuid =?", masterId).Get(m) has, err := u.Db.Where("type =?", kind).And("uuid =?", masterId).Get(m)
if err != nil { if err != nil {


Loading…
Cancel
Save