feat: PHP 运行环境增加日志 (#2764)

Refs https://github.com/1Panel-dev/1Panel/issues/2761
This commit is contained in:
zhengkunwang
2023-11-01 18:30:56 +08:00
committed by GitHub
parent c47075beeb
commit d15bd1d6b4
11 changed files with 350 additions and 2 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"
@@ -5666,6 +5666,36 @@ const docTemplate = `{
}
}
},
"/files/read": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "按行读取文件",
"tags": [
"File"
],
"summary": "Read file by Line",
"parameters": [
{
"description": "request",
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/request.FileReadByLineReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/files/recycle/clear": {
"post": {
"security": [
@@ -16955,6 +16985,25 @@ const docTemplate = `{
}
}
},
"request.FileReadByLineReq": {
"type": "object",
"required": [
"page",
"pageSize",
"path"
],
"properties": {
"page": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"path": {
"type": "string"
}
}
},
"request.FileRename": {
"type": "object",
"required": [