Other Classes
Other categories
- This page documents the related auxiliary function tools
TKResponse
- TKResponse is an asynchronous Promise interface that returns the resolve result
name | type | description |
---|---|---|
code | number | Success status code, with a value of 0 |
data | * | API-related data |
TKError
- TKResponse is an asynchronous Promise interface that returns the reject result
name | type | description |
---|---|---|
code | number | Failure status code |
message | { messageCode: number, messageInfo: string } | Failure message |
Log-related(Logger)
- The logging class uploads logs of the specified level to the cloud server, which facilitates logging and problem localization
- Method example
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|