mirror of
https://github.com/acepanel/panel.git
synced 2026-02-07 05:47:21 +08:00
fix: 修正部分接口未跟随更新状态码
This commit is contained in:
10
docs/docs.go
10
docs/docs.go
@@ -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",
|
||||
|
||||
@@ -2526,9 +2526,6 @@
|
||||
"controllers.ErrorResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "integer"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -2537,9 +2534,6 @@
|
||||
"controllers.SuccessResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "integer"
|
||||
},
|
||||
"data": {},
|
||||
"message": {
|
||||
"type": "string"
|
||||
@@ -2588,7 +2582,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"php": {
|
||||
"type": "integer"
|
||||
"type": "string"
|
||||
},
|
||||
"ports": {
|
||||
"type": "array",
|
||||
@@ -2847,7 +2841,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"php": {
|
||||
"type": "integer"
|
||||
"type": "string"
|
||||
},
|
||||
"ports": {
|
||||
"type": "array",
|
||||
|
||||
@@ -26,15 +26,11 @@ definitions:
|
||||
type: object
|
||||
controllers.ErrorResponse:
|
||||
properties:
|
||||
code:
|
||||
type: integer
|
||||
message:
|
||||
type: string
|
||||
type: object
|
||||
controllers.SuccessResponse:
|
||||
properties:
|
||||
code:
|
||||
type: integer
|
||||
data: {}
|
||||
message:
|
||||
type: string
|
||||
@@ -67,7 +63,7 @@ definitions:
|
||||
path:
|
||||
type: string
|
||||
php:
|
||||
type: integer
|
||||
type: string
|
||||
ports:
|
||||
items:
|
||||
type: integer
|
||||
@@ -241,7 +237,7 @@ definitions:
|
||||
path:
|
||||
type: string
|
||||
php:
|
||||
type: integer
|
||||
type: string
|
||||
ports:
|
||||
items:
|
||||
type: integer
|
||||
|
||||
Reference in New Issue
Block a user