feat(ftp): support receive ftp connection (#6)

Co-authored-by: E99p1ant <[email protected]>
This commit is contained in:
Li4n0
2021-04-25 13:39:27 +08:00
committed by GitHub
co-authored by E99p1ant
parent 5e24f9530d
commit 26755351f7
36 changed files with 1446 additions and 141 deletions
+3 -3
View File
@@ -140,9 +140,9 @@ func UpsertRules(c *gin.Context) {
}
if update {
log.Trace("MySQL rule(id:%d) has been updated", mysqlRule.ID)
log.Trace("MySQL rule[id%d] has been updated", mysqlRule.ID)
} else {
log.Trace("MySQL rule(id:%d) has been created", mysqlRule.ID)
log.Trace("MySQL rule[id%d] has been created", mysqlRule.ID)
}
c.JSON(200, gin.H{
@@ -174,7 +174,7 @@ func DeleteRules(c *gin.Context) {
return
}
log.Trace("MySQL rule(id:%d) has been deleted", mysqlRule.ID)
log.Trace("MySQL rule[id%d] has been deleted", mysqlRule.ID)
c.JSON(200, gin.H{
"status": "succeed",