From 631c8480176dc9ae13a73e67450a73df4c7ed8f4 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Sun, 26 Sep 2021 21:24:00 +0800 Subject: [PATCH] update --- develop/dwz/init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/develop/dwz/init.go b/develop/dwz/init.go index b930680..977e51a 100644 --- a/develop/dwz/init.go +++ b/develop/dwz/init.go @@ -6,8 +6,8 @@ import ( ) func init() { - core.Server.GET("/http:add", func(c *gin.Context) { - addr := "http" + c.Param("add") + core.Server.GET("/dwz", func(c *gin.Context) { + addr := c.Param("addr") c.String(200, addr) }) }