Home > @zero-dim/request > BaseApi > (constructor)
BaseApi.(constructor)
Constructs a new instance of the BaseApi
class
Signature:
typescript
constructor(service: string, module?: string);
Parameters
Parameter | Type | Description |
---|---|---|
service | string | 服务名 |
module | string | (Optional) 模块名 |