This commit is contained in:
wjqserver 2025-04-21 18:52:45 +08:00
parent 558d3fbb0b
commit d79aeaaacd
10 changed files with 214 additions and 215 deletions

View file

@ -27,14 +27,8 @@ func GitReq(ctx context.Context, c *app.RequestContext, u string, cfg *config.Co
var (
resp *http.Response
//err error
)
//body := c.Request.Body()
//bodyReader := bytes.NewBuffer(body)
// 创建请求
if cfg.GitClone.Mode == "cache" {
req, err := gitclient.NewRequest(method, u, c.Request.BodyStream())
if err != nil {