diff --git a/src/apk/app.apk b/src/apk/app.apk index 0d6cf66..9a41e30 100644 Binary files a/src/apk/app.apk and b/src/apk/app.apk differ diff --git a/src/app.controller.ts b/src/app.controller.ts index f455539..65def05 100644 --- a/src/app.controller.ts +++ b/src/app.controller.ts @@ -518,6 +518,9 @@ export class AppController { if (!node_other_visitor) { throw new BadRequestException("数据不存在") } + if (node_other_visitor.end_time) { + throw new BadRequestException("重复签退") + } node_other_visitor.end_time = new Date(); const result = await this.nodeOtherVisitorRepository.save(node_other_visitor); return result; @@ -591,7 +594,7 @@ export class AppController { @Req() req: any, ): Promise { return { - "versionName":"1.1.5", + "versionName":"1.2.0", "apkUrl":`http://${process.env.LOCAL_IP}/app.apk`, "forceUpdate": false, "whatsNew": "新版本更新"