api-server/api/network/server/network_api.go
2024-09-24 13:31:28 +08:00

15 lines
252 B
Go

package server
import (
"api/utils/r"
"github.com/gin-gonic/gin"
)
// NetWorkApi 网络接口
type NetWorkApi struct{}
// GetHeaders 获取请求头
func (*NetWorkApi) GetHeaders(c *gin.Context) {
r.SuccessData(c, networkService.GetHeaders(c))
}