fix brutepool baseurl bug

This commit is contained in:
M09Ic 2024-09-23 16:47:25 +08:00
parent a4b9e77029
commit f1684ffeb4

View File

@ -268,7 +268,7 @@ func (pool *BrutePool) Invoke(v interface{}) {
var req *ihttp.Request
var err error
req, err = ihttp.BuildRequest(pool.ctx, pool.ClientType, pool.BaseURL, unit.path, unit.host, pool.Method)
req, err = ihttp.BuildRequest(pool.ctx, pool.ClientType, pool.base, unit.path, unit.host, pool.Method)
if err != nil {
logs.Log.Error(err.Error())
return