feat(router): 参数化 callback URL
This commit is contained in:
11
router/handler/ping.go
Normal file
11
router/handler/ping.go
Normal file
@ -0,0 +1,11 @@
|
||||
package handler
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func Ping(c *gin.Context) {
|
||||
c.JSON(200, gin.H{
|
||||
"message": "pong",
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user