Check if the specified document has paid for the interface

API call address

{域名地址}/api/archive/order/check

illustrate:{域名地址}You need to replace it with your domain address, such as/api/archive/order/check

Calling methods

GET

Request parameters

Field name type Required illustrate
id int yes Document ID

Return parameters

Field name type illustrate
code int Error code
msg string Error Cause Description
data boolean Have you paid

Request data example

parameter value
id 1

Return to the data example

{
    "code": 0,
    "msg": "",
    "data": true,
}

Error code

Error code illustrate
0 OK
-1 Error, the cause of the error is pointed out in msg
1001 Not logged in
1002 Unauthorized
200 API request OK