From 9f6e099c39b61027cc96df77200b98388d48d348 Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期四, 16 七月 2026 22:59:49 +0800
Subject: [PATCH] bug fix

---
 src/modules/push/service/open.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/modules/push/service/open.ts b/src/modules/push/service/open.ts
index 1fdbda2..9750669 100644
--- a/src/modules/push/service/open.ts
+++ b/src/modules/push/service/open.ts
@@ -110,7 +110,7 @@
       if (body.sn) {
 
         const gpsData = body.data || {};
-        const statusVal = gpsData.status === 'A' ? 0 : 1;
+        const statusVal = gpsData.status === 'A' ? 'A' : 'B';
 
         await this.pushCameraGpsEntity.save({
           sn: body.sn,

--
Gitblit v1.9.1