Fix: unused import and Ping router return wrong version

This commit is contained in:
HFO4
2022-03-16 11:44:40 +08:00
parent 24dfb2c24e
commit 15e3e3db5c
2 changed files with 1 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ func Ping(c *gin.Context) {
c.JSON(200, serializer.Response{
Code: 0,
Data: conf.BackendVersion + conf.IsPro,
Data: version,
})
}