add debug log
This commit is contained in:
parent
293b4ce795
commit
07cf878e31
@ -40,11 +40,13 @@ func UpdateDDNS(c *context.Context) {
|
||||
c.DataFormat(nil)
|
||||
return
|
||||
}
|
||||
log.Println("req body :: ", body)
|
||||
|
||||
ip := tools.RemoteIP(c.Request)
|
||||
log.Println("Client IP :: ", ip)
|
||||
|
||||
if len(body.Domain) == 0 {
|
||||
log.Println("domain list empty")
|
||||
c.DataFormat(nil)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user