The import document interface returns a format issue, the code is inconsistent

Calendar 👁️ 217

The format of the return:

{

"code": 0,

"msg": "Published successfully"

"data": {

"url":"/..."

}

}

The format of the official documentation:

{

"code": 200,

"msg": "Published successfully"

"data": {

"url":"/..."

}

}

Related articles

The import document interface returns a format issue, the code is inconsistent

Return format: { "code": 0, "msg": "Published successfully", "data": { "url":"https://en.anqicms.com/..." } } Official documentation format: { "code": 200, "msg": "Published successfully", "data": { "url":"https://en.anqicms.com/..." }

2024-10-23

How to retain the operation of the data after the Anqi website changes the server

Is there a tutorial

2024-10-16

Suggest to support adding redis caching functionality,

Suggest to support adding redis caching functionality, to avoid session loss when restarting, and it is convenient for multi-server load balancing

2024-08-03

The login interface cannot be used

Login request: https://en.anqicms.com/api/login Parameters platform:website user_name:admin password:123456 remember:false The request always returns: { "code": -1, "msg": "EOF" } The registration interface is the same, what is the problem

2024-07-23

Document sorting issue.

The document model's sorting field: sort, cannot be updated in the background or via the API. This causes the document to be unable to be manually sorted

2025-02-24

Backup data bug

Some SQL statements are missing a semicolon at the end

2025-03-21

Time factor automatic update time bug

Set the maximum number of updates per day, but still update all articles that meet the conditions

2025-05-07

Suggestion for the automatic title image function

It is recommended to optimize the number of automatic illustrations for secondary titles, currently all secondary titles are automatically illustrated, it is recommended to set a quantity limit, such as a fixed number of illustrations per article

2025-05-07