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.

175 lines
5.7 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/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": [
"文件系统管理"
]
}
}
},
"swagger": "2.0"
}