dengbiao 3 months ago
parent
commit
21813223cd
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 (
"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 {


Loading…
Cancel
Save