feat(router): 参数化 callback URL

This commit is contained in:
2024-08-22 12:07:45 +08:00
parent 49fb4b1f91
commit 66254725df
4 changed files with 22 additions and 5 deletions

11
router/handler/ping.go Normal file
View 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",
})
}