This commit is contained in:
2024-09-25 16:35:07 +08:00
parent e952657166
commit 43f78fb688
14 changed files with 347 additions and 0 deletions

View File

@ -18,6 +18,8 @@ func ServerRouter() http.Handler {
base := r.Group("/api")
{
base.GET("/getHeaders", networkApi.GetHeaders)
base.POST("/getIpInfo", ipApi.GetIpInfo)
base.POST("/getIpInfoList", ipApi.GetIpInfoList)
}
return r
}

View File

@ -6,4 +6,5 @@ import (
var (
networkApi server.NetWorkApi
ipApi server.IpApi
)