# hejing_backend **Repository Path**: nayo/hejing_backend ## Basic Information - **Project Name**: hejing_backend - **Description**: hejing 后端 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-01 - **Last Updated**: 2024-05-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # workflow_backend 工作流(困难诉求)后端 > API HOST:http://222.80.39.81:8085 ----- * 用户登录 [app可用] | URI | method | remark | | -------- | -------- | -------- | | /login | post | | ```json data: { "username": "admin", "password": "admin123", "rememberMe": false, "code": "", "uuid": "" } ``` ----- * 用户信息 [app可用] | URI | method | remark | | -------- | -------- | -------- | | /getInfo | get | | ----- * 退出登录 [app可用] URI: '/logout', method: post ```json data: { "username": "admin", "password": "admin123", "rememberMe": false, "code": "", "uuid": "" } ``` ----- * 验证码获取 [app可用] | URI | method | remark | | -------- | -------- | -------- | | /captchaImage | get | | ##数据表 CRUD 通用说明 * 接口前缀:/api * 接口模式 /api/业务表名/操作名 ----- * 接口数据查询 /api/业务表名/list * 接口返回结果 AjaxResult {total:总数,code:结果码,rows:数据列} | URI | method | remark | | -------- | -------- | -------- | | /api/业务表名/list | get | 接口返回标准AjaxResult 筛选过滤需要附带 json格式的数据字段 example:{name=a}//过滤查询name为a的数据list | ----- ----- * 接口数据新增 /api/业务表名 * 接口返回结果 AjaxResult {code:结果码,msg:回显信息} | URI | method | remark | | -------- | -------- | -------- | | /api/业务表名 | post | 必填参数 数据表字段 example:json{id:1,name:a} | ----- ----- * 接口数据更新 /api/业务表名 | URI | method | remark | | -------- | -------- | -------- | | /api/业务表名/业务表主键 | put | 必填参数 数据表字段 example:json{id:1,name:a} | ----- ----- * 接口数据删除 /api/业务表名 | URI | method | remark | | -------- | -------- | -------- | | /api/业务表名/业务表主键 | delete | example:/api/tbarea/1 | ----- ----- * 获取区域all | URI | method | remark | | -------- | -------- | -------- | | /api/tbarea/list | get | | ----- ----- * 获取区域all | URI | method | remark | | -------- | -------- | -------- | | /api/tbarea/list | get | | ----- * 获取区域one | URI | method | remark | | -------- | -------- | -------- | | /api/tbarea/ | get | | ----- * 新增区域one | URI | method | data | | -------- | -------- | -------- | | /api/tbarea/ | post | | ----- * 获取审批列表 [app可用] | URI | method | params | | -------- | -------- | -------- | | /api/workflow_help/list | post | query | ----- * 查看流程详情 [app可用] | URI | method | params | | -------- | -------- | -------- | | /api/workflow_help/{id} | get | id | ----- * 创建一个流程 [app可用] | URI | method | data | | -------- | -------- | -------- | | /api/workflow_help | post | data | /login /getIfo /api/base_cadre/list /api/workflow_help/list get pdata:{typeName:'嘎布''} select { code: rows:[ oject{}, oject2:{ params:workflow_helpNode[] } ], total:200 } /api/workflow_help post pdata:{id:ss,name:xx} add /api/workflow_help put pdata:{searchParams} //sendMsg /api/option/list {searchValue:'2'} non /api/base_hu/list {} /common/download fileurl /common/upload file return fileurl //websocket /receiveMsg on