Browse Source

更新

master
huangjiajun 6 days ago
parent
commit
64103a1c8c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/super/implement/user_app_domain_implement.go

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

@@ -52,7 +52,7 @@ func (u UserAppDomainDb) GetUserAppDomain(masterId int) (m *model.UserAppDomain,
} }
func (u UserAppDomainDb) GetUserAppDomainByPlatform(masterId int, platform string) (m *model.UserAppDomain, err error) { func (u UserAppDomainDb) GetUserAppDomainByPlatform(masterId int, platform string) (m *model.UserAppDomain, err error) {
m = new(model.UserAppDomain) m = new(model.UserAppDomain)
has, err := u.Db.Where("uuid =? and type=? and is_ssl=1", masterId, platform, 1).Get(m)
has, err := u.Db.Where("uuid =? and type=? and is_ssl=?", masterId, platform, 1).Get(m)
if err != nil { if err != nil {
return nil, zhios_order_relate_logx.Error(err) return nil, zhios_order_relate_logx.Error(err)
} }


Loading…
Cancel
Save