@ -98,11 +98,11 @@ steps:
port: 22
command_timeout: 300s
script:
- cd /home/runtime/apps/qunsense
- cd /home/runtime/apps/visitor
- docker compose up -d api
when:
event: [push, pull_request]
branch: [development]
branch: [development, main]
# - name: notify
# image: fifsky/drone-wechat-work
@ -519,7 +519,7 @@ export class AppController {
throw new BadRequestException("数据不存在")
}
if (node_other_visitor.end_time) {
throw new BadRequestException("重复签退")
throw new BadRequestException("拜访已结束")
node_other_visitor.end_time = new Date();
const result = await this.nodeOtherVisitorRepository.save(node_other_visitor);