api-server/api/network/server/network_api.go

15 lines
252 B
Go
Raw Normal View History

2024-09-24 05:31:28 +00:00
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))
}