You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

330 lines
8.0 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

definitions:
Model.Res:
properties:
count:
description: omitempty有值就输出没值则不输出
type: object
error_code:
description: omitempty有值就输出没值则不输出
type: object
list:
description: omitempty有值就输出没值则不输出
type: object
message:
description: omitempty有值就输出没值则不输出
type: object
success:
type: object
type: object
host: 127.0.0.1:8006
info:
contact:
email: support@swagger.io
name: API Support
url: http://www.swagger.io/support
description: 物联网,大数据,人工智能
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
title: 智慧校园API
version: "1.0"
paths:
/dsSzxy/fileRelate/FileCopy:
post:
X-EmptyLimit:
- file_id
X-IntRangeLimit:
- source_identity_id: "5"
- source_person_id: 1,999999999999
- target_group_id: -1,999999999999
- target_identity_id: "5"
- target_person_id: 1,999999999999
X-TableName:
- t_zhxy_file
consumes:
- application/x-www-form-urlencoded
description: 文件复制,一般用于文件转发
parameters:
- description: 文件ID
in: formData
name: file_id
required: true
type: string
- description: 原文件所有人身份ID
in: formData
name: source_identity_id
required: true
type: string
- description: 原文件所有人ID
in: formData
name: source_person_id
required: true
type: string
- description: 接收文件所有人身份ID
in: formData
name: target_identity_id
required: true
type: string
- description: 接收文件所有人ID
in: formData
name: target_person_id
required: true
type: string
- description: 接收文件群组ID
in: formData
name: target_group_id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 文件复制,一般用于文件转发
tags:
- 文件系统管理
/dsSzxy/fileRelate/addNode:
post:
X-EmptyLimit:
- parent_id
- node_name
X-IntRangeLimit:
- identity_id: "5"
- person_id: 1,999999999999
X-TableName:
- t_zhxy_clouddisk_tree
consumes:
- application/x-www-form-urlencoded
description: 增加云盘结点
parameters:
- description: 创建者身份ID
in: formData
name: identity_id
required: true
type: string
- description: 创建者ID
in: formData
name: person_id
required: true
type: string
- description: 父结点ID
in: formData
name: parent_id
required: true
type: string
- description: 结点名称
in: formData
name: node_name
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 增加云盘结点
tags:
- 文件系统管理
/dsSzxy/fileRelate/addNodeFile:
post:
X-EmptyLimit:
- node_id
X-TableName:
- t_zhxy_clouddisk_tree
consumes:
- application/x-www-form-urlencoded
description: 增加云盘结点文件
parameters:
- description: 结点ID
in: formData
name: node_id
required: true
type: string
- description: 文件ID
in: formData
name: file_id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 增加云盘结点文件
tags:
- 文件系统管理
/dsSzxy/fileRelate/delNode:
post:
X-EmptyLimit:
- node_id
X-TableName:
- t_zhxy_clouddisk_tree
consumes:
- application/x-www-form-urlencoded
description: 删除云盘结点
parameters:
- description: 结点ID
in: formData
name: node_id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 删除云盘结点
tags:
- 文件系统管理
/dsSzxy/fileRelate/delNodeFile:
post:
X-EmptyLimit:
- node_id
X-TableName:
- t_zhxy_clouddisk_tree
consumes:
- application/x-www-form-urlencoded
description: 删除云盘结点文件
parameters:
- description: 结点ID
in: formData
name: node_id
required: true
type: string
- description: 文件ID
in: formData
name: file_id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 删除云盘结点文件
tags:
- 文件系统管理
/dsSzxy/fileRelate/fileUpdate:
post:
X-EmptyLimit:
- file_id
- file_name
X-TableName:
- t_zhxy_file
consumes:
- application/x-www-form-urlencoded
description: 修改文件名称
parameters:
- description: 文件ID
in: formData
name: file_id
required: true
type: string
- description: 文件名称
in: formData
name: file_name
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 修改文件名称
tags:
- 文件系统管理
/dsSzxy/fileRelate/fileUpload:
post:
X-IntRangeLimit:
- identity_id: "5"
- person_id: 1,999999999999
- target_group_id: -1,999999999999
- target_identity_id: "5"
- target_person_id: 1,999999999999
- system_id: 1,20
X-TableName:
- t_zhxy_file
consumes:
- application/x-www-form-urlencoded
description: 文件上传
parameters:
- description: 上传人身份ID
in: formData
name: identity_id
required: true
type: string
- description: 上传人ID
in: formData
name: person_id
required: true
type: string
- description: 目标群组ID
in: formData
name: target_group_id
required: true
type: string
- description: 目标人身份ID
in: formData
name: target_identity_id
required: true
type: string
- description: 目标人ID
in: formData
name: target_person_id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 文件上传
tags:
- 文件系统管理
/dsSzxy/fileRelate/updateNode:
post:
X-EmptyLimit:
- node_id
- node_name
X-TableName:
- t_zhxy_clouddisk_tree
consumes:
- application/x-www-form-urlencoded
description: 修改云盘结点
parameters:
- description: 结点ID
in: formData
name: node_id
required: true
type: string
- description: 结点名称
in: formData
name: node_name
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 修改云盘结点
tags:
- 文件系统管理
swagger: "2.0"