Skip to content

Home > @zero-dim/request > BaseApi

BaseApi class

基础接口类

Signature:

typescript
export declare class BaseApi

Constructors

Constructor

Modifiers

Description

(constructor)(service, module)

Constructs a new instance of the BaseApi class

Properties

Property

Modifiers

Type

Description

module

string

service

string

Methods

Method

Modifiers

Description

add(data, options)

增加

delete(id, options)

删除

deleteBatch(ids, options)

批量删除

edit(id, options)

编辑

list(params, options)

查询

update(data, options)

更新