dengbiao 1 month ago
parent
commit
cc0bd9d3cd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/svc/svc_medium_agent.go

+ 1
- 1
app/svc/svc_medium_agent.go View File

@@ -196,7 +196,7 @@ func GetMediumByAccountId(c *gin.Context, name, account string) string {
} }
} }
if account != "" { if account != "" {
sess.And(" username like ?", "%"+name+"%", "%"+name+"%")
sess.And(" username like ?", "%"+account+"%")
} }
sess.Find(&tmp) sess.Find(&tmp)
for _, v := range tmp { for _, v := range tmp {


Loading…
Cancel
Save