Statements


Response

{
    "code"    :  0 , 
    "message" : "",
    "data"    : [],
}

code : Response Success or Failure

message : String information returned in response

data : Response data (partial response may not exist or be empty)

  

   Code :

code meaning
1 success
0 fail

  

   Message :

{info} Response information can be used as a bullet window to inform users

  

   Data :

{warning} The data structure returned by the response is complex, so it needs to be handled with care.

{
    "code"    :  1 , 
    "message" : "success",
    "data"    : [
        "data"  : [] ,
        "local" : [] ,
        "account" : [
            "id" : 1 ,
            ...
        ]
    ],
}

data : The request data returned by the database operation is here. (Here 'data' is the same level as 'data' of 'local' and 'auth'.)

local : The locally configured data is here (considering later multilingual versions)

auth : Authentication of permissions (only for admin modules)

account : Current account information (front-end account)