|
|
|
@ -518,6 +518,9 @@ export class AppController {
|
|
|
|
if (!node_other_visitor) {
|
|
|
|
if (!node_other_visitor) {
|
|
|
|
throw new BadRequestException("数据不存在")
|
|
|
|
throw new BadRequestException("数据不存在")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (node_other_visitor.end_time) {
|
|
|
|
|
|
|
|
throw new BadRequestException("重复签退")
|
|
|
|
|
|
|
|
}
|
|
|
|
node_other_visitor.end_time = new Date();
|
|
|
|
node_other_visitor.end_time = new Date();
|
|
|
|
const result = await this.nodeOtherVisitorRepository.save(node_other_visitor);
|
|
|
|
const result = await this.nodeOtherVisitorRepository.save(node_other_visitor);
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
@ -591,7 +594,7 @@ export class AppController {
|
|
|
|
@Req() req: any,
|
|
|
|
@Req() req: any,
|
|
|
|
): Promise<any> {
|
|
|
|
): Promise<any> {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
"versionName":"1.1.5",
|
|
|
|
"versionName":"1.2.0",
|
|
|
|
"apkUrl":`http://${process.env.LOCAL_IP}/app.apk`,
|
|
|
|
"apkUrl":`http://${process.env.LOCAL_IP}/app.apk`,
|
|
|
|
"forceUpdate": false,
|
|
|
|
"forceUpdate": false,
|
|
|
|
"whatsNew": "新版本更新"
|
|
|
|
"whatsNew": "新版本更新"
|
|
|
|
|