Param ("<field>") 可以取得網址中的參數; c.Fullpath() 可以取得定義的路由參數. Parameters in path. func main() { router := gin.Default()
確定! 回上一頁