fix batch

This commit is contained in:
代码之美 2020-09-04 20:48:14 +08:00 committed by GitHub
parent 3faad71b99
commit bc54bec2bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ class HttpProvider extends Provider implements IProvider
return call_user_func($callback, null, $res); return call_user_func($callback, null, $res);
}; };
$this->requestManager->sendPayload('[' . implode(',', $this->batch) . ']', $proxy); $this->requestManager->sendPayload('[' . implode(',', $this->batch) . ']', $proxy);
$this->methods[] = []; $this->methods = [];
$this->batch = []; $this->batch = [];
} }
} }