|
|
@@ -1,700 +0,0 @@
|
|
|
-{
|
|
|
- "jaxrs": [
|
|
|
- {
|
|
|
- "name": "AreaAction",
|
|
|
- "className": "com.x.general.assemble.control.jaxrs.area.AreaAction",
|
|
|
- "description": "行政区域",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "listCity",
|
|
|
- "className": "com.x.general.assemble.control.jaxrs.area.ActionListCity",
|
|
|
- "description": "列示指定省下属市",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/area/list/province/{province}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "province",
|
|
|
- "type": "String",
|
|
|
- "description": "省"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "zipCode",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "邮编."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "level",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "级别."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "center",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "中心坐标."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listDistrict",
|
|
|
- "className": "com.x.general.assemble.control.jaxrs.area.ActionListStreet",
|
|
|
- "description": "列示指定省/市下属区",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/area/list/province/{province}/city/{city}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "province",
|
|
|
- "type": "String",
|
|
|
- "description": "省"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "city",
|
|
|
- "type": "String",
|
|
|
- "description": "市"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "zipCode",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "邮编."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "level",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "级别."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "center",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "中心坐标."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listProvince",
|
|
|
- "className": "com.x.general.assemble.control.jaxrs.area.ActionListProvince",
|
|
|
- "description": "获取指定的Attachment信息.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/area/list",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "zipCode",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "邮编."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "level",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "级别."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "center",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "中心坐标."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "sha",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "md5校验码."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listStreet",
|
|
|
- "className": "com.x.general.assemble.control.jaxrs.area.ActionListStreet",
|
|
|
- "description": "列示指定省/市/区的下属街道",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/area/list/province/{province}/city/{city}/district/{district}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "province",
|
|
|
- "type": "String",
|
|
|
- "description": "省"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "city",
|
|
|
- "type": "String",
|
|
|
- "description": "市"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "district",
|
|
|
- "type": "String",
|
|
|
- "description": "区"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "zipCode",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "邮编."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "level",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "级别."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "center",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "中心坐标."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "CacheAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.cache.CacheAction",
|
|
|
- "description": "缓存操作",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "configFlush",
|
|
|
- "className": "com.x.base.core.project.jaxrs.cache.ActionConfigFlush",
|
|
|
- "description": "接收config flush 信号.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/cache/config/flush",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "receive",
|
|
|
- "className": "com.x.base.core.project.jaxrs.cache.ActionReceive",
|
|
|
- "description": "接收Cache刷新信息.",
|
|
|
- "type": "PUT",
|
|
|
- "path": "jaxrs/cache",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "nodeName",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "节点名",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "className",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类名",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "keys",
|
|
|
- "type": "List\u003cObject\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "关键字",
|
|
|
- "isBaseType": false
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "EchoAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.echo.EchoAction",
|
|
|
- "description": "响应",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.base.core.project.jaxrs.echo.ActionGet",
|
|
|
- "description": "获取应答.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/echo",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "servletContextName",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上下文根"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "serverTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "服务器时间"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "EcnetAction",
|
|
|
- "className": "com.x.general.assemble.control.jaxrs.ecnet.EcnetAction",
|
|
|
- "description": "文本纠错",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "check",
|
|
|
- "className": "com.x.general.assemble.control.jaxrs.ecnet.ActionCheck",
|
|
|
- "description": "文本纠错.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/ecnet/check",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值",
|
|
|
- "isBaseType": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": []
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "FireScheduleAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.fireschedule.FireScheduleAction",
|
|
|
- "description": "触发任务",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "execute",
|
|
|
- "className": "com.x.base.core.project.jaxrs.fireschedule.ActionExecute",
|
|
|
- "description": "接受x_program_center发送过来的运行schedule.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/fireschedule/classname/{className}",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "className",
|
|
|
- "type": "String",
|
|
|
- "description": "运行类"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "LoggerAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.LoggerAction",
|
|
|
- "description": "日志操作",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "debug",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionDebug",
|
|
|
- "description": "设置日志级别为DEBUG.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger/debug",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionGet",
|
|
|
- "description": "获取当前日志级别.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "info",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionInfo",
|
|
|
- "description": "设置日志级别为INFO",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger/info",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "trace",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionTrace",
|
|
|
- "description": "设置日志级别为TRACE.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger/trace",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "warn",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionWarn",
|
|
|
- "description": "设置日志级别为WARN",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger/warn",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "OfficeAction",
|
|
|
- "className": "com.x.general.assemble.control.jaxrs.office.OfficeAction",
|
|
|
- "description": "office文件转换",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "htmlToWord",
|
|
|
- "className": "com.x.general.assemble.control.jaxrs.office.ActionHtmlToWord",
|
|
|
- "description": "html转换成word.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/office/html/to/word",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "fileName",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "转换文件名.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "content",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "内容.",
|
|
|
- "isBaseType": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "htmlToWordResult",
|
|
|
- "className": "com.x.general.assemble.control.jaxrs.office.ActionHtmlToWordResult",
|
|
|
- "description": "html转换成word结果流文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/office/html/to/word/result/{flag}",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "flag",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "input",
|
|
|
- "className": "com.x.general.assemble.control.jaxrs.office.ActionToHtml",
|
|
|
- "description": "转换成html.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/office",
|
|
|
- "contentType": "multipart/form-data",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "file",
|
|
|
- "type": "File",
|
|
|
- "description": "office文件"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "SysResourceAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.sysresource.SysResourceAction",
|
|
|
- "description": "系统资源",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "listResource",
|
|
|
- "className": "com.x.base.core.project.jaxrs.sysresource.ActionListResource",
|
|
|
- "description": "获取静态资源信息.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/sysresource/filePath/{filePath}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "filePath",
|
|
|
- "type": "String",
|
|
|
- "description": "查找路径(根路径:(0))"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": []
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "uploadResource",
|
|
|
- "className": "com.x.base.core.project.jaxrs.sysresource.ActionUploadResource",
|
|
|
- "description": "上传静态资源(仅上传到当前服务器)",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/sysresource/upload/resource/as/new/{asNew}",
|
|
|
- "contentType": "multipart/form-data",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "asNew",
|
|
|
- "type": "Boolean",
|
|
|
- "description": "覆盖类型:true删除原文件然后上传,false覆盖原文件"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "file",
|
|
|
- "type": "File",
|
|
|
- "description": "上传文件"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileName",
|
|
|
- "type": "String",
|
|
|
- "description": "附件名称"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "filePath",
|
|
|
- "type": "String",
|
|
|
- "description": "附件存放目录(可以为空)"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
-}
|