mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-02-04 14:33:01 +08:00
feat: PHP 运行环境增加日志 (#2764)
Refs https://github.com/1Panel-dev/1Panel/issues/2761
This commit is contained in:
@@ -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": [
|
||||
|
||||
@@ -5659,6 +5659,36 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/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": [
|
||||
@@ -16948,6 +16978,25 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"request.FileReadByLineReq": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"page",
|
||||
"pageSize",
|
||||
"path"
|
||||
],
|
||||
"properties": {
|
||||
"page": {
|
||||
"type": "integer"
|
||||
},
|
||||
"pageSize": {
|
||||
"type": "integer"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"request.FileRename": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
||||
@@ -2998,6 +2998,19 @@ definitions:
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
request.FileReadByLineReq:
|
||||
properties:
|
||||
page:
|
||||
type: integer
|
||||
pageSize:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
required:
|
||||
- page
|
||||
- pageSize
|
||||
- path
|
||||
type: object
|
||||
request.FileRename:
|
||||
properties:
|
||||
newName:
|
||||
@@ -7955,6 +7968,24 @@ paths:
|
||||
formatEN: Change owner [paths] => [user]/[group]
|
||||
formatZH: 修改用户/组 [paths] => [user]/[group]
|
||||
paramKeys: []
|
||||
/files/read:
|
||||
post:
|
||||
description: 按行读取文件
|
||||
parameters:
|
||||
- description: request
|
||||
in: body
|
||||
name: request
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/request.FileReadByLineReq'
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: Read file by Line
|
||||
tags:
|
||||
- File
|
||||
/files/recycle/clear:
|
||||
post:
|
||||
consumes:
|
||||
|
||||
Reference in New Issue
Block a user