Add files via upload

pull/51/head
肥羊 3 years ago committed by GitHub
parent 0f6b58f270
commit 71ecb46cfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      Golang/main.go

@ -52,6 +52,14 @@ func setupRouter(adurl string) *gin.Engine {
gin.SetMode(gin.ReleaseMode)
r := gin.Default()
r.HEAD("/", func(c *gin.Context) {
c.String(http.StatusOK,"请求成功!")
})
r.GET("/", func(c *gin.Context) {
c.String(http.StatusOK,"请求成功!")
})
r.GET("/douyin", func(c *gin.Context) {
vrurl := c.Query("url")
douyinobj := &liveurls.Douyin{}

Loading…
Cancel
Save