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