预览代码
POST
/adminapi/tools.generator/preview请求参数
Body 参数application/x-www-form-urlencoded
id
integer
表id
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
show
integer
必需
msg
string
必需
data
array [object {3}]
必需
name
string
文件名称
type
string
文件类型
content
string
文件内容
示例成功示例
{
"code": 1,
"show": 0,
"msg": "",
"data": [
{
"name": "test.php",
"type": "php",
"content": "见接口"
}
]
}
修改于 2 年前