Skip to content

Common Responses

All business API responses use the following outer structure:

FieldTypeDescription
codeintegerResponse code. 200 indicates success.
msgstringResponse message. Usually 操作成功 (operation successful) on success.
dataobject/nullBusiness data. null when no business data is returned.

Pagination structure:

FieldTypeDescription
itemsarrayRecords on the current page.
pageintegerCurrent page number.
pageSizeintegerNumber of records per page.
totalintegerTotal number of records.