Skip to content

zentao-api / request

Function: request()

request(name, params?, options?): Promise<ResponseData>

按模块动作名请求禅道 API。

选项优先级为:本次调用 options > 全局 options > 客户端默认值。

Parameters

ParameterType
name`${string}/${string}`
paramsRecord<string, unknown>
optionsRequestOptions

Returns

Promise<ResponseData>

Released under the MIT License.