huangjiajun 1 mese fa
parent
commit
03fbc74dc6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      app/svc/svc_medium_agent.go

+ 1
- 0
app/svc/svc_medium_agent.go Vedi File

@@ -121,6 +121,7 @@ func MediumBindAgentSave(c *gin.Context) {
return
}
agentDb := implement2.NewAgentDb(MasterDb(c))
req.Username = strings.ReplaceAll(req.Username, " ", "")
username, _ := agentDb.GetSuperAgentByUsername(req.Username)
if username == nil {
e.OutErr(c, 400, e.NewErr(400, "渠道代理不存在"))


Caricamento…
Annulla
Salva