**接口testcase运行方式：1.运行obpm-demo/database目录下的restore_test_demodb.bat     
2.运行obpm-runtime-consul模块下的test包里的cn.myapps.runtime.ControllerTestSuit

| 序号       | 请求方式   |  url   |接口说明|testcase位置| 接口文档情况 |
| --------   | -----:  | :----:   | :----:  |:----:  |:----:  |
| 1     | POST   |   /logout      |注销登录|UserControllerTest |于接口文档7675|
| 2     |   GET   |   /runtime/applications    |获取软件列表|ApplicationControllerTest  |于接口文档7428|
| 3  |   GET    |  /runtime/customreports/{id}   |获取自定义报表数据|CustomeReportControllerTest|于接口文档1802|
| 4    | POST   |   /runtime/file/{fileId}/pdf    |获取PDF文件|FileUploadControllerTest   |于接口文档1120|
| 5     |   DELETE   |  /runtime/files/delete    |删除文件|FileUploadControllerTest |于接口文档1424|
| 6  |   GET    |  /runtime/files/hasPdf  |判断文件是否存在pdf文件|FileUploadControllerTest |于接口文档1730|
| 7     | POST   |    /runtime/files/preview/environment    |判断是否配置预览环境(用于在线预览)|FormHelperControllerTest   |于接口文档1694|
| 8     |   POST   |   /runtime/files/sort   |文件排序|FileUploadControllerTest  |于接口文档1369|
| 9  |   GET    |  /runtime/flowcenters/applications  |获取软件列表|FlowCenterControllerTest |于接口文档5039|
| 10    | GET    |    /runtime/flowcenters/navs/pendings   |获取待办导航|FlowCenterControllerTest    |于接口文档5079|
|11     |   GET    |  /runtime/flowcenters/navs/processeds   |获取经办导航|FlowCenterControllerTest  |于接口文档5143|
| 12  |   GET    |   /runtime/forms/wordfield/edit  |Word控件-判断是否可编辑|WordFieldControllerTest |于接口文档1466|
| 13   | PUT     |    /runtime/forms/wordfield/exixtEdit   |Word控件-退出编辑|WordFieldControllerTest    |于接口文档1504|
|14     |   GET    |  /runtime/homepage/config   |获取用户首页设置|PageWidgetControllerTest  |于接口文档5384|
| 15  |   POST     |   /runtime/homepage/config |保存用户首页设置|PageWidgetControllerTest |于接口文档5455|
|16     |   DELETE     |  /runtime/messages/notices/delete  |删除通知|MessageControllerTest   |于接口文档7634|
| 17  |   PUT     |   /runtime/messages/notices/read  |全部标记已读|MessageControllerTest |于接口文档7606|
| 18   | POST      |    /runtime/upload     |文件上传控件|FileUploadControllerTest  |于接口文档1320|
|19     |   GET    |  /runtime/users/myprofile  |获取登录用户信息|UserControllerTest   |于接口文档6241|
| 20  |   GET      |   /runtime/users/profile |获取用户信息|UserControllerTest |缺|
| 21  |   GET      |   /runtime/users/selectbox/contacts |获取以通讯录为树形结构的用户集合|UserSelectboxControllerTest |于接口文档6007|
|22     |   GET      |  /runtime/users/selectbox/onlines  |获取在线用户集合|UserSelectboxControllerTest   |于接口文档6067|
| 23  |   GET      |   /runtime/users/selectbox/search |模糊查询用户|UserSelectboxControllerTest  |于接口文档6126|
| 24   | GET      |    /runtime/users/signs   |获取用户签章列表|UserControllerTest    |于接口文档6281|
|25    |   POST    |  /runtime/users/signs   |新建签章|UserControllerTest   |于接口文档6337|
| 26  |   DELETE       |   /runtime/users/signs |批量删除签章|UserControllerTest |于接口文档6424|
|27     |   DELETE       |  /runtime/users/signs/{id} |删除签章|UserControllerTest    |缺|
| 28  |   POST       |   /runtime/users/skin  |皮肤设置|UserControllerTest |于接口文档6830|
| 29   | PUT       |    /runtime/users/unlock  |前台解锁|UserControllerTest    |缺|
|30    |   GET     |  /runtime/users/{userId}/commonOpinions  |获取常用意见列表|UserControllerTest  |于接口文档7167|
| 31  |   POST        |    /runtime/users/{userId}/commonOpinions |添加常用意见|UserControllerTest |于接口文档7216|
|32     |   PUT        |  /runtime/users/{userId}/commonOpinions/{opId}  |修改常用意见|UserControllerTest   |于接口文档7298|
| 33  |   DELETE        |   /runtime/users/{userId}/commonOpinions/{opId} |删除常用意见|UserControllerTest  |于接口文档7257|
| 34   | POST        |    /runtime/usersetups/detail    |个人信息设置|UserSetupControllerTest  |于接口文档6745|
|35   |   POST      |  /runtime/usersetups/password   |密码设置|UserSetupControllerTest |于接口文档6787|
| 36  |   GET         |    /runtime/widget/myCopy  |前台widget显示-我的抄办(包含多个软件)|PageWidgetControllerTest|缺|
|37     |   GET         |  /runtime/widget/myPending   |前台widget显示-我的待办(包含多个软件)|PageWidgetControllerTest  |缺|
| 38  |   GET         |   /runtime/widget/myProcessing |前台widget显示-我的经办(包含多个软件)|PageWidgetControllerTest  |缺|
| 39   | GET         |    /runtime/widgets/{widgetId}  |获取指定Widget内容|PageWidgetControllerTest    |缺|
|40   |   GET       |   /runtime/{applicationId}/activities/{id}/execute  |运算自定义动作脚本|ActivityControllerTest  |于接口文档4120|
| 41  |   GET         |    /runtime/{applicationId}/activities/{id}/runScript |运算操作某字段执行脚本|ActivityControllerTest |于接口文档4146|
|42     |   GET         |  /runtime/{applicationId}/activities/{id}/runafteractionscript    |运算动作执行后脚本|ActivityControllerTest |于接口文档4091|
|43  |   POST         |   /runtime/{applicationId}/activities/{id}/runbeforeactionscript  |运算动作执行前脚本|ActivityControllerTest |于接口文档4033|
|44   | GET         |    /runtime/{applicationId}/departments/selectbox/department  |获取树形结构的部门集合|DepartmentSelectboxControllerTest    |于接口文档6473|
|45   |   GET       |  /runtime/{applicationId}/departments/selectbox/search  |搜索功能|DepartmentSelectboxControllerTest  |于接口文档6613|
| 46  |   GET         |    /runtime/{applicationId}/departments/selectbox/user |获取部门集合或部门下用户集合|DepartmentSelectboxControllerTest |于接口文档6532|
|47     |   GET         |  /runtime/{applicationId}/documents   |获取文档集合|DocumentControllerTest  |缺|
|48  |   POST         |   /runtime/{applicationId}/documents  |创建文档（带校验）|DocumentControllerTest |于接口文档342|
|49   | DELETE     |/runtime/{applicationId}/documents    |删除文档|DocumentControllerTest  |于接口文档681|
|50   |   POST        |  /runtime/{applicationId}/documents/activities/saveStartWorkFlow  |保存并启动流程|ActivityControllerTest  |于接口文档4192|
|51  |   POST          |    /runtime/{applicationId}/documents/batch |批量更新文档(带校验)|DocumentControllerTest |缺|
|52     |   POST          |  /runtime/{applicationId}/documents/withoutValid  |创建文档|DocumentControllerTest   |于接口文档282|
|53  |   GET          |   /runtime/{applicationId}/documents/{docId}/activities/archive  |归档|ActivityControllerTest |于接口文档4325|
|54   | POST          |    /runtime/{applicationId}/documents/{docId}/activities/download   |文件下载|ActivityControllerTest   |于接口文档4515|
|55   |   POST        |  /runtime/{applicationId}/documents/{docId}/activities/share   |通过邮件或手机短信分享|ActivityControllerTest |于接口文档4455|
|56  |   POST          |    /runtime/{applicationId}/documents/{docId}/activities/sign |签章|ActivityControllerTest |于接口文档4388|
|57     |   GET           |  /runtime/{applicationId}/documents/{docId}/activities/{actId}/executeAddress  |运算地址脚本|ActivityControllerTest   |于接口文档282|
|58  |   POST           |   /runtime/{applicationId}/documents/{docId}/files/watermark/print |水印文件打印|FormHelperControllerTest  |于接口文档1768|
|59   | GET           |   /runtime/{applicationId}/documents/{docId}/formhelper/inputlog  |获取控件修改历史|FormHelperControllerTest    |于接口文档1044|
|60   |   GET         |  /runtime/{applicationId}/documents/{docId}/panels/back  |获取文档的流程回退面板|WorkflowControllerTest  |缺|
|61  |   POST          |    /runtime/{applicationId}/documents/{docId}/panels/submission |获取文档的流程提交面板|WorkflowControllerTest |于接口文档2724|
|62     |   PUT            |  /runtime/{applicationId}/documents/{docId}/activities/{actId}/executeAddress   |运算地址脚本|ActivityControllerTest  |于接口文档4815|
|63  |   PUT            |   /runtime/{applicationId}/documents/{docId}/workflows/assist/addition |流程协办加签|WorkflowControllerTest  |于接口文档3922|
|64   | GET           |   /runtime/{applicationId}/documents/{docId}/workflows/flow-historys  |获取文档的流程历史|WorkflowControllerTest    |于接口文档2608|
|65   |   PUT          |  /runtime/{applicationId}/documents/{docId}/workflows/submit  |获取文档的流程历史|WorkflowControllerTest  |于接口文档3023|
|66  |   GET           |    /runtime/{applicationId}/documents/{docId}/workflows/{flowId}/selectApprovers  |获取流程指定审批人用户选择框列表|WorkflowControllerTest|于接口文档3792|
|67     |   PUT            |  /runtime/{applicationId}/documents/{docid}/freeflows/back   |自由流程-回退|WorkflowControllerTest  |于接口文档3544|
|68  |   PUT            |   /runtime/{applicationId}/documents/{docid}/freeflows/complete  |自由流程-归档（结束）|WorkflowControllerTest |于接口文档3617|
|69   | POST            |   /runtime/{applicationId}/documents/{docid}/freeflows/initiate   |自由流程-发起|WorkflowControllerTest   |于接口文档3398|
|70   |   PUT          |  /runtime/{applicationId}/documents/{docid}/freeflows/submit  |自由流程-提交|WorkflowControllerTest  |于接口文档3417|
|71  |   POST          |    /runtime/{applicationId}/documents/{docid}/panels/initiate |获取文档的流程发起面板|WorkflowControllerTest |于接口文档2877|
|72     |   PUT            |  /runtime/{applicationId}/documents/{docid}/workflows/back  |回退流程|WorkflowControllerTest   |于接口文档3167|
|73  |   POST             |   /runtime/{applicationId}/documents/{docid}/workflows/initiate |发起流程|WorkflowControllerTest  |于接口文档2947|
|74   | PUT            |   /runtime/{applicationId}/documents/{docid}/workflows/recovery    |恢复流程|WorkflowControllerTest  |缺|
|75   |   PUT          |  /runtime/{applicationId}/documents/{docid}/workflows/retracement  |撤回流程|WorkflowControllerTest  |于接口文档3248|
|76  |   PUT            |    /runtime/{applicationId}/documents/{docid}/workflows/suspend |挂起流程|WorkflowControllerTest |缺|
|77     |   PUT            |  /runtime/{applicationId}/documents/{docid}/workflows/termination  |终止流程|WorkflowControllerTest   |于接口文档3286|
|78  |   GET             |   /runtime/{applicationId}/documents/{id}  |获取文档|DocumentControllerTest |于接口文档215|
|79   | PATCH             |   /runtime/{applicationId}/documents/{id}  |局部更新文档|DocumentControllerTest    |于接口文档535|
|80   |   PUT          |  /runtime/{applicationId}/documents/{id}  |更新文档（带校验）|DocumentControllerTest  |于接口文档471|
|81  |   DELETE           |    /runtime/{applicationId}/documents/{id} |删除文档|DocumentControllerTest |于接口文档591|
|82     |   PUT            |  /runtime/{applicationId}/documents/{id}/withoutValid  |更新文档|DocumentControllerTest   |于接口文档405|
|83  |   GET              |   /runtime/{applicationId}/flowcenters/pendings |获取待办事项|FlowCenterControllerTest  |于接口文档5207|
|84   | GET            |   /runtime/{applicationId}/flowcenters/processeds  |获取经办列表|FlowCenterControllerTest    |缺|
|85   |   GET           |  /runtime/{applicationId}/flowcenters/startmenus  |获取发起菜单|FlowCenterControllerTest  |于接口文档4987|
|86  |   POST            |    /runtime/{applicationId}/forms/activities/batchApprove |批量审批|ActivityControllerTest |于接口文档4552|
|87     |   DELETE             |  /runtime/{applicationId}/forms/{formId}/activities/clear  |清除所有数据|ActivityControllerTest   |于接口文档4352|
|88  |   POST              |   /runtime/{applicationId}/forms/{formId}/documents/{docId}/activities/exportPdf |Pdf导出|ActivityControllerTest  |于接口文档4611|
|89   | GET              |   /runtime/{applicationId}/forms/{formId}/documents/{docId}/activities/print   |打印|ActivityControllerTest   |于接口文档4741|
|90   |   GET           |  /runtime/{applicationId}/forms/{formId}/openable  |判断表单打开权限|FormControllerTest  |于接口文档1184|
|91  |   GET            |    /runtime/{applicationId}/forms/{formid}/documents/{docid} |获取表单信息|FormControllerTest |于接口文档6714|
|92     |   GET             |  /runtime/{applicationId}/forms/{formid}/documents/{docid}/data   |获取表单数据|FormControllerTest  |于接口文档898|
|93  |   GET              |   /runtime/{applicationId}/forms/{formid}/documents/{docid}/openable |判断表单打开权限(脚本)|FormControllerTest  |于接口文档1146|
|94   | POST             |   /runtime/{applicationId}/forms/{formid}/documents/{docid}/querySuggest   |智能搜索提示框-查询|SuggestFieldControllerTest   |于接口文档1573|
|95   |   POST            | /runtime/{applicationId}/forms/{formid}/documents/{docid}/refresh   |刷新表单|FormControllerTest |于接口文档1263|
|96  |   GET            |    /runtime/{applicationId}/forms/{formid}/documents/{docid}/template |获取表单模板|FormControllerTest |于接口文档800|
|97     |   POST              |  /runtime/{applicationId}/forms/{formid}/documents/{docid}/validateFieldValue  |校验表单控件值的合法性|FormControllerTest   |缺|
|98  |   GET               |   /runtime/{applicationId}/forms/{formid}/empty |获取空文档|FormControllerTest  |于接口文档1222|
|99   | GET              |   /runtime/{applicationId}/menus   |获取菜单|MenuControllerTest   |于接口文档4895|
|100   |   POST            |  /runtime/{applicationId}/treeviews/{id}/documents |获取树形视图数据|MenuControllerTest   |缺|
|101  |   GET            |    /runtime/{applicationId}/users/selectbox/role  |获取树形视图数据|ViewControllerTest|于接口文档5926|
|102     |   GET             |  /runtime/{applicationId}/usersetups/proxys   |获取代理列表|UserSetupControllerTest  |于接口文档6870|
|103  |   DELETE               |   /runtime/{applicationId}/usersetups/proxys  |删除代理|UserSetupControllerTest |于接口文档7055|
|104   | GET              |   /runtime/{applicationId}/usersetups/proxys/flows  |获取流程列表|UserSetupControllerTest    |于接口文档7122|
|105   |   POST            | /runtime/{applicationId}/usersetups/proxys/save   |保存代理|UserSetupControllerTest |于接口文档6981|
|106  |   GET            |    /runtime/{applicationId}/usersetups/proxys/{id}  |获取代理|UserSetupControllerTest|于接口文档6926|
|107     |   POST              |  /runtime/{applicationId}/views/{id}/documents  |获取视图|ViewControllerTest   |缺|
|108  |   GET               |   /runtime/{applicationId}/views/{id}/searchformtemplate |获取树形视图数据|ViewControllerTest  |缺|
|109   | GET              |   /runtime/{applicationId}/views/{id}/template   |获取视图模板|ViewControllerTest   |缺|
|110   |   GET             |  /runtime/{applicationId}/views/{id}/tree/search   |查询树形视图|ViewControllerTest |于接口文档2187|
|111  |   POST             |    /runtime/{applicationId}/views/{viewId}/activities/exportExcel |Excel导出|ActivityControllerTest |于接口文档4648|
|112     |   POST              |  /runtime/{applicationId}/views/{viewId}/activities/importExcel |Excel导入|ActivityControllerTest    |于接口文档4686|
|113  |   POST               |   /runtime/{applicationId}/views/{viewId}/column/submit |视图列的提交按钮|ActivityControllerTest  |于接口文档2227|
|114   | GET              |   /runtime/{applicationId}/views/{viewId}/openable  |判断视图打开权限|ActivityControllerTest    |于接口文档2284|
|115   |   PUT             | /runtime/{applicationId}/workflows/{instanceId}/assist   |流程协办|WorkflowControllerTest |于接口文档3885|
|116  |   GET            |    /runtime/{applicationId}/workflows/{instanceId}/states |获取文档的流程状态|WorkflowControllerTest |于接口文档2554|
|117     |   PUT               |  /runtime/{applicationId}/workflows/{instanceId}/supplement  |添加/补签意见|WorkflowControllerTest   |于接口文档3848|
|118  |   GET               |   /sequence  |获取系列号|UserControllerTest |于接口文档3848|
|119  |   POST               |   /views/{viewid}/documents/{docid}/refresh  |刷新表单|ViewControllerTest |于接口文档7875|


