zhengkunwang
2023-07-25 17:20:25 +08:00
committed by GitHub
parent da4c264908
commit 3b9f92e03f
18 changed files with 473 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
// Code generated by swaggo/swag. DO NOT EDIT.
// Package docs GENERATED BY SWAG; DO NOT EDIT
// This file was generated by swaggo/swag
package docs
import "github.com/swaggo/swag"
@@ -10057,6 +10057,57 @@ const docTemplate = `{
}
}
},
"/websites/php/version": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "变更 php 版本",
"consumes": [
"application/json"
],
"tags": [
"Website PHP"
],
"summary": "Update php version",
"parameters": [
{
"description": "request",
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/request.WebsitePHPVersionReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"x-panel-log": {
"BeforeFuntions": [
{
"db": "websites",
"input_column": "id",
"input_value": "websiteId",
"isList": false,
"output_column": "primary_domain",
"output_value": "domain"
}
],
"bodyKeys": [
"websiteId"
],
"formatEN": "php version update [domain]",
"formatZH": "php 版本变更 [domain]",
"paramKeys": []
}
}
},
"/websites/proxies": {
"post": {
"security": [
@@ -10206,7 +10257,7 @@ const docTemplate = `{
"tags": [
"Website"
],
"summary": "Get proxy conf",
"summary": "Get redirect conf",
"parameters": [
{
"description": "request",
@@ -15587,6 +15638,25 @@ const docTemplate = `{
}
}
},
"request.WebsitePHPVersionReq": {
"type": "object",
"required": [
"retainConfig",
"runtimeID",
"websiteID"
],
"properties": {
"retainConfig": {
"type": "boolean"
},
"runtimeID": {
"type": "integer"
},
"websiteID": {
"type": "integer"
}
}
},
"request.WebsiteProxyConfig": {
"type": "object",
"required": [