huangjiajun 2 mesi fa
parent
commit
2fe6da0384
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      src/super/implement/user_app_domain_implement.go

+ 2
- 2
src/super/implement/user_app_domain_implement.go Vedi 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 {


Caricamento…
Annulla
Salva