API Reference
This section details the standard API interface specifications for the backend template code, including basic CRUD, batch operations, data import/export, and sorting adjustments.
Interface Standards
All APIs follow the RESTful style and use standard HTTP verbs (GET, POST, PUT, DELETE).
Response Format
Unified response structure:
{
"code": 200,
"message": "Success",
"data": { ... },
"success": true
}
Authentication
Most interfaces require a Bearer Token for authentication. Please carry the Authorization header in the request.