update
This commit is contained in:
parent
5484da1212
commit
e8bec78493
@ -26,4 +26,14 @@ func SetDefaultRoutes(r *gin.Engine) {
|
||||
fmt.Println(accs)
|
||||
c.JSON(200, accs)
|
||||
})
|
||||
|
||||
api := r.Group("/api")
|
||||
{
|
||||
api.GET("/", func(c *gin.Context) {
|
||||
c.JSON(200, gin.H{
|
||||
"status": 200,
|
||||
"message": "Success",
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user