remove debug , modify line route

This commit is contained in:
Jay
2018-09-20 22:42:22 +08:00
parent 386a24affb
commit 07436cd8df
3 changed files with 1 additions and 4 deletions
+1
View File
@@ -76,6 +76,7 @@ func SetRoutes(r *gin.Engine) {
}
r.POST("/line", context.PatchCtx(line.GetRawBody), context.PatchCtx(line.VerifyLine), context.PatchCtx(line.GetLineMessage))
lineApis := r.Group("/line")
{
lineApis.POST("/", context.PatchCtx(line.GetRawBody), context.PatchCtx(line.VerifyLine), context.PatchCtx(line.GetLineMessage))