| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589 |
- /**
- * @api {get} /v1/home/visitor 06.查询当前机房访客人员
- * @apiName 查询当前机房访客人员
- * @apiGroup 主页
- * @apiVersion 1.0.1
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiQuery { Integer } [ page = 1 ] 页码
- * @apiQuery { Integer } [ size = 10 ] 页大小
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.total 数据总数
- * @apiSuccess { Object[] } data.list 数据列表
- * @apiSuccess { Long } data.list.id id主键
- * @apiSuccess { String } data.list.openid 用户openid
- * @apiSuccess { Integer } data.list.number 编号,年+4位编号
- * @apiSuccess { String } data.list.username 访客姓名
- * @apiSuccess { String } data.list.userPhone 访客手机号
- * @apiSuccess { String } data.list.company 访客公司
- * @apiSuccess { Integer } data.list.duration 访问时长(小时)
- * @apiSuccess { String } data.list.itineraryCode 行程码
- * @apiSuccess { String } data.list.healthCode 健康码
- * @apiSuccess { Boolean } data.list.highRisk 是否高风险
- * @apiSuccess { String } data.list.reason 事由
- * @apiSuccess { Integer } data.list.status 审核状态 1:未审核 2:通过 3:拒绝
- * @apiSuccess { Date } data.list.entryTime 审批、进入时间
- * @apiSuccess { Long } data.list.operatingUserId 操作用户id
- * @apiSuccess { String } data.list.operatingUsername 操作用户姓名
- * @apiSuccess { Date } data.list.leaveTime 离开时间
- * @apiSuccess { String } data.list.remark 出场备注
- * @apiSuccess { Date } data.list.createTime 创建时间
- * @apiSuccess { String } data.list.information 审核资料
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"total":1, "list":[{"id":1, "openid":"", "number":1, "username":"", "userPhone":"", "company":"", "duration":1, "itineraryCode":"", "healthCode":"", "highRisk":true, "reason":"", "status":1, "entryTime":1651943027139, "operatingUserId":1, "operatingUsername":"", "leaveTime":1651943027139, "remark":"", "createTime":1651943027139, "information":""}]}, "message":"", "code":1}
- */
- /**
- * @api {post} /v1/patrol/plan/add 01.添加巡检计划
- * @apiName 添加巡检计划
- * @apiGroup 巡检计划-巡检计划查询
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/patrol/plan/add#POST】
- * @apiHeader {String = application/json} Content-Type = application/json
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiBody { Long } routeId 检查路线id
- * @apiBody { String } name 名称
- * @apiBody { Integer } type 类型 1日计划、2周计划、3月计划
- * @apiBody { Integer } runModel 执行模式 1其中一人、2每人分别
- * @apiBody { Date } beginDate 计划执行开始日期
- * @apiBody { Date } [ endDate ] 计划执行结束日期,空代表永不结束
- * @apiBody { Date } beginTime 任务执行开始时间
- * @apiBody { Date } endTime 任务执行结束时间
- * @apiBody { String } [ weeks ] 周计划 [1-7]
- * @apiBody { String } [ months ] 月计划 [1-31]
- * @apiBody { String } [ remark ] 备注
- * @apiBody { Long[] { 1-2147483647 } } executors 执行人列表
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.id id 主键
- * @apiSuccess { Long } data.routeId 路线id
- * @apiSuccess { Long } data.userId 创建人id
- * @apiSuccess { String } data.number 编号
- * @apiSuccess { String } data.name 名称
- * @apiSuccess { Boolean } data.disabled 是否禁用
- * @apiSuccess { Integer } data.type 类型 1日计划、2周计划、3月计划
- * @apiSuccess { Integer } data.runModel 执行模式 1其中一人、2每人分别
- * @apiSuccess { Date } data.beginDate 计划执行开始日期
- * @apiSuccess { Date } data.endDate 计划执行结束日期,空代表永不结束
- * @apiSuccess { Date } data.beginTime 任务执行开始时间
- * @apiSuccess { Date } data.endTime 任务执行结束时间
- * @apiSuccess { String } data.weeks 周计划 [1-7]
- * @apiSuccess { String } data.months 月计划 [1-31]
- * @apiSuccess { String } data.remark 备注
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"id":1, "routeId":1, "userId":1, "number":"", "name":"", "disabled":true, "type":1, "runModel":1, "beginDate":1651943027139, "endDate":1651943027139, "beginTime":1651943027139, "endTime":1651943027139, "weeks":"", "months":"", "remark":""}, "message":"", "code":1}
- */
- /**
- * @api {put} /v1/patrol/plan/update 02.更新巡检计划
- * @apiName 更新巡检计划
- * @apiGroup 巡检计划-巡检计划查询
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/patrol/plan/update#PUT】
- * @apiHeader {String = application/json} Content-Type = application/json
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiBody { Long } id id 主键
- * @apiBody { Long } routeId 检查路线id
- * @apiBody { String } name 名称
- * @apiBody { Integer } type 类型 1日计划、2周计划、3月计划
- * @apiBody { Integer } runModel 执行模式 1其中一人、2每人分别
- * @apiBody { Date } beginDate 计划执行开始日期
- * @apiBody { Date } [ endDate ] 计划执行结束日期,空代表永不结束
- * @apiBody { Date } beginTime 任务执行开始时间
- * @apiBody { Date } endTime 任务执行结束时间
- * @apiBody { String } [ weeks ] 周计划 [1-7]
- * @apiBody { String } [ months ] 月计划 [1-31]
- * @apiBody { String } [ remark ] 备注
- * @apiBody { Long[] { 1-2147483647 } } executors 执行人列表
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.id id 主键
- * @apiSuccess { Long } data.routeId 路线id
- * @apiSuccess { Long } data.userId 创建人id
- * @apiSuccess { String } data.number 编号
- * @apiSuccess { String } data.name 名称
- * @apiSuccess { Boolean } data.disabled 是否禁用
- * @apiSuccess { Integer } data.type 类型 1日计划、2周计划、3月计划
- * @apiSuccess { Integer } data.runModel 执行模式 1其中一人、2每人分别
- * @apiSuccess { Date } data.beginDate 计划执行开始日期
- * @apiSuccess { Date } data.endDate 计划执行结束日期,空代表永不结束
- * @apiSuccess { Date } data.beginTime 任务执行开始时间
- * @apiSuccess { Date } data.endTime 任务执行结束时间
- * @apiSuccess { String } data.weeks 周计划 [1-7]
- * @apiSuccess { String } data.months 月计划 [1-31]
- * @apiSuccess { String } data.remark 备注
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"id":1, "routeId":1, "userId":1, "number":"", "name":"", "disabled":true, "type":1, "runModel":1, "beginDate":1651943027139, "endDate":1651943027139, "beginTime":1651943027139, "endTime":1651943027139, "weeks":"", "months":"", "remark":""}, "message":"", "code":1}
- */
- /**
- * @api {get} /v1/patrol/task/record/list/room 01.分页查询房间巡检记录
- * @apiName 分页查询房间巡检记录
- * @apiGroup 巡检任务-巡检任务记录
- * @apiVersion 1.0.1
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiQuery { String } [ number ] 任务编号
- * @apiQuery { String } [ taskName ] 任务名称
- * @apiQuery { Integer } [ type ] 类型 1日计划、2周计划、3月计划
- * @apiQuery { Boolean } [ oneself ] 是否是本人完成
- * @apiQuery { String } [ username ] 执行用户名
- * @apiQuery { String } [ buildingName ] 楼栋名称
- * @apiQuery { String } [ floorName ] 楼层名称
- * @apiQuery { String } [ roomName ] 房间名称
- * @apiQuery { String } [ roomNumber ] 房间编号
- * @apiQuery { Date } [ beginTimeStart ] 任务开始时间 开始时间
- * @apiQuery { Date } [ beginTimeEnd ] 任务开始时间 结束时间
- * @apiQuery { Integer } [ page = 1 ] 页码
- * @apiQuery { Integer } [ size = 10 ] 页大小
- * @apiQuery { String { ^[-+][\w]+ } } [ order = -id ]
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.total 数据总数
- * @apiSuccess { Object[] } data.list 数据列表
- * @apiSuccess { Long } data.list.id 任务id
- * @apiSuccess { String } data.list.name 任务名称
- * @apiSuccess { Integer } data.list.type 任务类型
- * @apiSuccess { String } data.list.buildingName 楼栋名称
- * @apiSuccess { String } data.list.floorName 楼层名称
- * @apiSuccess { Long } data.list.roomId 房间id
- * @apiSuccess { String } data.list.roomName 房间名称
- * @apiSuccess { String } data.list.roomNumber 房间编号
- * @apiSuccess { Long } data.list.userId 执行用户id
- * @apiSuccess { String } data.list.username 执行用户名
- * @apiSuccess { Date } data.list.beginTime 巡检时间
- * @apiSuccess { Date } data.list.endTime 结束时间
- * @apiSuccess { Boolean } data.list.completed 是否完成
- * @apiSuccess { Boolean } data.list.oneself 是否是本人完成
- * @apiSuccess { Boolean } data.list.qualified 是否合格
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"total":1, "list":[{"id":1, "name":"", "type":1, "buildingName":"", "floorName":"", "roomId":1, "roomName":"", "roomNumber":"", "userId":1, "username":"", "beginTime":1651943027139, "endTime":1651943027139, "completed":true, "oneself":true, "qualified":true}]}, "message":"", "code":1}
- */
- /**
- * @api {get} /v1/patrol/task/record/query/room 02.查询房间巡检记录详情
- * @apiName 查询房间巡检记录详情
- * @apiGroup 巡检任务-巡检任务记录
- * @apiVersion 1.0.1
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiQuery { Long } taskId 巡检任务id
- * @apiQuery { Long } roomId 房间id
- * @apiQuery { Long } userId 巡检人员id
- * @apiSuccess { Object } data 数据
- * @apiSuccess { String } data.taskName 任务名称
- * @apiSuccess { String } data.number 任务编号
- * @apiSuccess { Integer } data.type 任务类型
- * @apiSuccess { String } data.routeName 所属路线
- * @apiSuccess { String } data.roomName 房间名称
- * @apiSuccess { String } data.roomNumber 房间编号
- * @apiSuccess { String } data.floorName 楼层名称
- * @apiSuccess { String } data.buildingName 楼栋名称
- * @apiSuccess { String } data.name 巡检任务名称
- * @apiSuccess { Date } data.beginTime 任务开始时间
- * @apiSuccess { Date } data.endTime 任务结束时间
- * @apiSuccess { Date } data.updateTime 巡检时间
- * @apiSuccess { String } data.username 巡检人员
- * @apiSuccess { Integer } data.status 状态 1未开始、2进行中、3正常完成、4超时漏检、5超时完成
- * @apiSuccess { Boolean } data.completed 是否完成
- * @apiSuccess { Boolean } data.oneself 是否是本人完成
- * @apiSuccess { Boolean } data.qualified 是否合格
- * @apiSuccess { Integer } data.score 评分
- * @apiSuccess { Object[] } data.checkItems 检查项列表
- * @apiSuccess { Integer } data.checkItems.checkItemType 检查项类别 1选择、2数字、3文本、4拍照
- * @apiSuccess { String } data.checkItems.checkItemName 检查项名称
- * @apiSuccess { String } data.checkItems.checkItem 检查项
- * @apiSuccess { Integer } data.checkItems.score 得分
- * @apiSuccess { Integer } data.checkItems.scoreTotal 合格总分数
- * @apiSuccess { Boolean } data.checkItems.qualified 是否合格
- * @apiSuccess { String } data.checkItems.value 用户输入值
- * @apiSuccess { Object[] } data.devices 设备列表
- * @apiSuccess { String } data.devices.deviceName 设备名称
- * @apiSuccess { Object[] } data.devices.checkItems 检查项列表
- * @apiSuccess { Integer } data.devices.checkItems.checkItemType 检查项类别 1选择、2数字、3文本、4拍照
- * @apiSuccess { String } data.devices.checkItems.checkItemName 检查项名称
- * @apiSuccess { String } data.devices.checkItems.checkItem 检查项
- * @apiSuccess { Integer } data.devices.checkItems.score 得分
- * @apiSuccess { Integer } data.devices.checkItems.scoreTotal 合格总分数
- * @apiSuccess { Boolean } data.devices.checkItems.qualified 是否合格
- * @apiSuccess { String } data.devices.checkItems.value 用户输入值
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"taskName":"", "number":"", "type":1, "routeName":"", "roomName":"", "roomNumber":"", "floorName":"", "buildingName":"", "name":"", "beginTime":1651943027139, "endTime":1651943027139, "updateTime":1651943027139, "username":"", "status":1, "completed":true, "oneself":true, "qualified":true, "score":1, "checkItems":[{"checkItemType":1, "checkItemName":"", "checkItem":"", "score":1, "scoreTotal":1, "qualified":true, "value":""}], "devices":[{"deviceName":"", "checkItems":[{"checkItemType":1, "checkItemName":"", "checkItem":"", "score":1, "scoreTotal":1, "qualified":true, "value":""}]}]}, "message":"", "code":1}
- */
- /**
- * @api {delete} /v1/temporary/task/feedback/delete/:id 01.删除临时任务反馈
- * @apiName 删除临时任务反馈
- * @apiGroup 临时任务-临时任务反馈
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/temporary/task/feedback/delete/{id}#DELETE】
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiParam { Long } id 临时任务反馈id
- * @apiQuery { Long } taskId 临时任务id
- * @apiSuccess { Boolean } data 数据
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":true, "message":"", "code":1}
- */
- /**
- * @api {delete} /v1/temporary/task/feedback/delete 02.删除多条临时任务反馈
- * @apiName 删除多条临时任务反馈
- * @apiGroup 临时任务-临时任务反馈
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/temporary/task/feedback/delete#DELETE】
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiQuery { Long[] { 1-2147483647 } } ids 临时任务反馈id数组
- * @apiQuery { Long } taskId 临时任务id
- * @apiSuccess { Boolean } data 数据
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":true, "message":"", "code":1}
- */
- /**
- * @api {put} /v1/visitor/regulation/update 01.保存制度
- * @apiName 保存制度
- * @apiGroup 访客管理-制度管理
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/visitor/regulation/update#PUT】
- * @apiHeader {String = application/json} Content-Type = application/json
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiBody { String } content 内容
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.id id主键
- * @apiSuccess { Long } data.userId 编辑用户id
- * @apiSuccess { String } data.username 编辑用户名称
- * @apiSuccess { Date } data.createTime 创建时间
- * @apiSuccess { Date } data.updateTime 更新时间
- * @apiSuccess { String } data.content 内容
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"id":1, "userId":1, "username":"", "createTime":1651943027139, "updateTime":1651943027139, "content":""}, "message":"", "code":1}
- */
- /**
- * @api {get} /v1/visitor/regulation/query 02.查询制度
- * @apiName 查询制度
- * @apiGroup 访客管理-制度管理
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/visitor/regulation/query#GET】
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.id id主键
- * @apiSuccess { Long } data.userId 编辑用户id
- * @apiSuccess { String } data.username 编辑用户名称
- * @apiSuccess { Date } data.createTime 创建时间
- * @apiSuccess { Date } data.updateTime 更新时间
- * @apiSuccess { String } data.content 内容
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"id":1, "userId":1, "username":"", "createTime":1651943027139, "updateTime":1651943027139, "content":""}, "message":"", "code":1}
- */
- /**
- * @api {put} /v1/visitor/audit/update 01.更新访客审批
- * @apiName 更新访客审批
- * @apiGroup 访客管理-访客审批
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/visitor/audit/update#PUT】
- * @apiHeader {String = application/json} Content-Type = application/json
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiBody { Long } id id主键
- * @apiBody { Integer } status 审核状态 2:通过 3:拒绝
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.id id主键
- * @apiSuccess { String } data.openid 用户openid
- * @apiSuccess { Integer } data.number 编号,年+4位编号
- * @apiSuccess { String } data.username 访客姓名
- * @apiSuccess { String } data.userPhone 访客手机号
- * @apiSuccess { String } data.company 访客公司
- * @apiSuccess { Integer } data.duration 访问时长(小时)
- * @apiSuccess { String } data.itineraryCode 行程码
- * @apiSuccess { String } data.healthCode 健康码
- * @apiSuccess { Boolean } data.highRisk 是否高风险
- * @apiSuccess { String } data.reason 事由
- * @apiSuccess { Integer } data.status 审核状态 1:未审核 2:通过 3:拒绝
- * @apiSuccess { Date } data.entryTime 审批、进入时间
- * @apiSuccess { Long } data.operatingUserId 操作用户id
- * @apiSuccess { String } data.operatingUsername 操作用户姓名
- * @apiSuccess { Date } data.leaveTime 离开时间
- * @apiSuccess { String } data.remark 出场备注
- * @apiSuccess { Date } data.createTime 创建时间
- * @apiSuccess { String } data.information 审核资料
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"id":1, "openid":"", "number":1, "username":"", "userPhone":"", "company":"", "duration":1, "itineraryCode":"", "healthCode":"", "highRisk":true, "reason":"", "status":1, "entryTime":1651943027139, "operatingUserId":1, "operatingUsername":"", "leaveTime":1651943027139, "remark":"", "createTime":1651943027139, "information":""}, "message":"", "code":1}
- */
- /**
- * @api {get} /v1/visitor/audit/list 02.分页查询访客审批
- * @apiName 分页查询访客审批
- * @apiGroup 访客管理-访客审批
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/visitor/audit/list#GET】
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiQuery { String } [ username ] 访客姓名
- * @apiQuery { String } [ userPhone ] 访客手机号
- * @apiQuery { String } [ company ] 访客公司
- * @apiQuery { Boolean } [ highRisk ] 是否高风险
- * @apiQuery { Integer } [ status ] 审核状态 1:未审核 2:通过 3:拒绝
- * @apiQuery { String } [ operatingUsername ] 操作人姓名
- * @apiQuery { Date } [ entryTimeStart ] 审批、进入时间 开始时间
- * @apiQuery { Date } [ entryTimeEnd ] 审批、进入时间 结束时间
- * @apiQuery { Date } [ leaveTimeStart ] 离开时间 开始时间
- * @apiQuery { Date } [ leaveTimeEnd ] 离开时间 结束时间
- * @apiQuery { Date } [ createTimeStart ] 创建时间 开始时间
- * @apiQuery { Date } [ createTimeEnd ] 创建时间 结束时间
- * @apiQuery { Integer } [ page = 1 ] 页码
- * @apiQuery { Integer } [ size = 10 ] 页大小
- * @apiQuery { String { ^[-+][\w]+ } } [ order = -id ] 排序规则(默认ID倒序),排序字段前加:+表示正序 -表示倒序
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.total 数据总数
- * @apiSuccess { Object[] } data.list 数据列表
- * @apiSuccess { Long } data.list.id id主键
- * @apiSuccess { String } data.list.openid 用户openid
- * @apiSuccess { Integer } data.list.number 编号,年+4位编号
- * @apiSuccess { String } data.list.username 访客姓名
- * @apiSuccess { String } data.list.userPhone 访客手机号
- * @apiSuccess { String } data.list.company 访客公司
- * @apiSuccess { Integer } data.list.duration 访问时长(小时)
- * @apiSuccess { String } data.list.itineraryCode 行程码
- * @apiSuccess { String } data.list.healthCode 健康码
- * @apiSuccess { Boolean } data.list.highRisk 是否高风险
- * @apiSuccess { String } data.list.reason 事由
- * @apiSuccess { Integer } data.list.status 审核状态 1:未审核 2:通过 3:拒绝
- * @apiSuccess { Date } data.list.entryTime 审批、进入时间
- * @apiSuccess { Long } data.list.operatingUserId 操作用户id
- * @apiSuccess { String } data.list.operatingUsername 操作用户姓名
- * @apiSuccess { Date } data.list.leaveTime 离开时间
- * @apiSuccess { String } data.list.remark 出场备注
- * @apiSuccess { Date } data.list.createTime 创建时间
- * @apiSuccess { String } data.list.information 审核资料
- * @apiSuccess { Long } data.list.backupId 备案id
- * @apiSuccess { Boolean } data.list.backupValid 备案是否有效
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"total":1, "list":[{"id":1, "openid":"", "number":1, "username":"", "userPhone":"", "company":"", "duration":1, "itineraryCode":"", "healthCode":"", "highRisk":true, "reason":"", "status":1, "entryTime":1651943027139, "operatingUserId":1, "operatingUsername":"", "leaveTime":1651943027139, "remark":"", "createTime":1651943027139, "information":"", "backupId":1, "backupValid":true}]}, "message":"", "code":1}
- */
- /**
- * @api {post} /v1/visitor/backup/add 01.添加备案
- * @apiName 添加备案
- * @apiGroup 访客管理-备案管理
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/visitor/backup/add#POST】
- * @apiHeader {String = application/json} Content-Type = application/json
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiBody { String } username 访客姓名
- * @apiBody { String } userPhone 访客手机号
- * @apiBody { Integer } gender 性别 1:男 2:女
- * @apiBody { String } idcard 身份证号
- * @apiBody { String } idcardImage 身份证照片
- * @apiBody { Date } validTime 有效截止时间
- * @apiBody { String } company 访客公司
- * @apiBody { String } [ remark ] 备注
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.id id主键
- * @apiSuccess { Long } data.operatingUserId 操作用户id
- * @apiSuccess { String } data.operatingUsername 操作用户姓名
- * @apiSuccess { String } data.username 访客姓名
- * @apiSuccess { String } data.userPhone 访客手机号
- * @apiSuccess { Integer } data.gender 性别 1:男 2:女
- * @apiSuccess { String } data.idcard 身份证号
- * @apiSuccess { String } data.idcardImage 身份证照片
- * @apiSuccess { Date } data.validTime 有效截止时间
- * @apiSuccess { String } data.company 访客公司
- * @apiSuccess { String } data.remark 备注
- * @apiSuccess { Date } data.createTime 创建时间
- * @apiSuccess { Date } data.updateTime 更新时间
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"id":1, "operatingUserId":1, "operatingUsername":"", "username":"", "userPhone":"", "gender":1, "idcard":"", "idcardImage":"", "validTime":1651943027139, "company":"", "remark":"", "createTime":1651943027139, "updateTime":1651943027139}, "message":"", "code":1}
- */
- /**
- * @api {put} /v1/visitor/backup/update 02.更新备案
- * @apiName 更新备案
- * @apiGroup 访客管理-备案管理
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/visitor/backup/update#PUT】
- * @apiHeader {String = application/json} Content-Type = application/json
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiBody { Long } id id主键
- * @apiBody { String } username 访客姓名
- * @apiBody { String } userPhone 访客手机号
- * @apiBody { Integer } gender 性别 1:男 2:女
- * @apiBody { String } idcard 身份证号
- * @apiBody { String } idcardImage 身份证照片
- * @apiBody { Date } validTime 有效截止时间
- * @apiBody { String } company 访客公司
- * @apiBody { String } [ remark ] 备注
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.id id主键
- * @apiSuccess { Long } data.operatingUserId 操作用户id
- * @apiSuccess { String } data.operatingUsername 操作用户姓名
- * @apiSuccess { String } data.username 访客姓名
- * @apiSuccess { String } data.userPhone 访客手机号
- * @apiSuccess { Integer } data.gender 性别 1:男 2:女
- * @apiSuccess { String } data.idcard 身份证号
- * @apiSuccess { String } data.idcardImage 身份证照片
- * @apiSuccess { Date } data.validTime 有效截止时间
- * @apiSuccess { String } data.company 访客公司
- * @apiSuccess { String } data.remark 备注
- * @apiSuccess { Date } data.createTime 创建时间
- * @apiSuccess { Date } data.updateTime 更新时间
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"id":1, "operatingUserId":1, "operatingUsername":"", "username":"", "userPhone":"", "gender":1, "idcard":"", "idcardImage":"", "validTime":1651943027139, "company":"", "remark":"", "createTime":1651943027139, "updateTime":1651943027139}, "message":"", "code":1}
- */
- /**
- * @api {delete} /v1/visitor/backup/delete/:id 03.删除备案
- * @apiName 删除备案
- * @apiGroup 访客管理-备案管理
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/visitor/backup/delete/{id}#DELETE】
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiParam { Long } id 备案id
- * @apiSuccess { Boolean } data 数据
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":true, "message":"", "code":1}
- */
- /**
- * @api {delete} /v1/visitor/backup/delete 04.删除多条备案
- * @apiName 删除多条备案
- * @apiGroup 访客管理-备案管理
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/visitor/backup/delete#DELETE】
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiQuery { Long[] { 1-2147483647 } } ids 备案id数组
- * @apiSuccess { Boolean } data 数据
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":true, "message":"", "code":1}
- */
- /**
- * @api {get} /v1/visitor/backup/query/:id 05.查询备案
- * @apiName 查询备案
- * @apiGroup 访客管理-备案管理
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/visitor/backup/query/{id}#GET】
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiParam { Long } id 备案id
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.id id主键
- * @apiSuccess { Long } data.operatingUserId 操作用户id
- * @apiSuccess { String } data.operatingUsername 操作用户姓名
- * @apiSuccess { String } data.username 访客姓名
- * @apiSuccess { String } data.userPhone 访客手机号
- * @apiSuccess { Integer } data.gender 性别 1:男 2:女
- * @apiSuccess { String } data.idcard 身份证号
- * @apiSuccess { String } data.idcardImage 身份证照片
- * @apiSuccess { Date } data.validTime 有效截止时间
- * @apiSuccess { String } data.company 访客公司
- * @apiSuccess { String } data.remark 备注
- * @apiSuccess { Date } data.createTime 创建时间
- * @apiSuccess { Date } data.updateTime 更新时间
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"id":1, "operatingUserId":1, "operatingUsername":"", "username":"", "userPhone":"", "gender":1, "idcard":"", "idcardImage":"", "validTime":1651943027139, "company":"", "remark":"", "createTime":1651943027139, "updateTime":1651943027139}, "message":"", "code":1}
- */
- /**
- * @api {post} /v1/system/user/login 04.登录
- * @apiName 登录
- * @apiGroup 系统设置-用户管理
- * @apiVersion 1.0.1
- * @apiHeader {String = application/json} Content-Type = application/json
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiBody { String } username 用户名
- * @apiBody { String } password 用户密码(md5加密)
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.id 用户id
- * @apiSuccess { String } data.username 用户名称
- * @apiSuccess { String } data.telephone 手机号
- * @apiSuccess { String } data.token 授权信息
- * @apiSuccess { String[] } data.permissions 权限列表
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"id":1, "username":"", "telephone":"", "token":"", "permissions":[""]}, "message":"", "code":1}
- */
- /**
- * @api {get} /v1/doc/api 01.接口文档
- * @apiName 接口文档
- * @apiGroup 文档
- * @apiVersion 1.0.1
- * @apiPermission 【/v1/doc/api#GET】
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiSuccess { String } / 接口文档
- * @apiSuccessExample Response
- *
- * ""
- */
|