Interface Result<T>

REST API result

Type Parameters

  • T

Hierarchy

  • Result

Properties

Properties

code: number

The response code, 0 means success, other values means error.

data: T

The response data, if code == 0, this field will contain response data.

msg: string

The response message, if code != 0, this field will contain error message.

Generated using TypeDoc