2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-06 16:21:03 +08:00

fix: 修正部分接口未跟随更新状态码

This commit is contained in:
耗子
2024-03-06 03:42:15 +08:00
parent d3e758f61a
commit 5dcfe4126c
6 changed files with 18 additions and 46 deletions

View File

@@ -2533,9 +2533,6 @@ const docTemplate = `{
"controllers.ErrorResponse": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"message": {
"type": "string"
}
@@ -2544,9 +2541,6 @@ const docTemplate = `{
"controllers.SuccessResponse": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"data": {},
"message": {
"type": "string"
@@ -2595,7 +2589,7 @@ const docTemplate = `{
"type": "string"
},
"php": {
"type": "integer"
"type": "string"
},
"ports": {
"type": "array",
@@ -2854,7 +2848,7 @@ const docTemplate = `{
"type": "string"
},
"php": {
"type": "integer"
"type": "string"
},
"ports": {
"type": "array",