Author SHA1 Message Date
Your Name e49bb9888f fix: use locale-independent OTA build timestamp 2026-09-21 18:10:03 +08:00
chenjintao 91e9b2e66b chore: messages increase from 5 to 10 2026-09-21 11:09:18 +08:00
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -1,8 +1,6 @@
@echo off @echo off
set CURDIR=%~dp0 set CURDIR=%~dp0
set time0=%time: =0% for /f %%i in ('powershell -NoProfile -Command "Get-Date -Format yyyyMMddHHmmss"') do set appbuildtime=%%i
set hour=%time0:~0,2%
set appbuildtime=%date:~0,4%%date:~5,2%%date:~8,2%%hour%%time:~3,2%%time:~6,2%
set appbuildrev=NULL set appbuildrev=NULL
set appbuildmodel=EG800AKCN_11LG set appbuildmodel=EG800AKCN_11LG
set appbuildver=beta1 set appbuildver=beta1
@@ -368,7 +368,7 @@ int parse_event_response(const char *json_str, response_t *resp)
} }
else { else {
// ===== 原有逻辑: NFC事件 - 动态查找 url_x 字段 ===== // ===== 原有逻辑: NFC事件 - 动态查找 url_x 字段 =====
for (int i = 1; i <= 5; i++) { for (int i = 1; i <= 10; i++) {
char key[16]; char key[16];
snprintf(key, sizeof(key), "url_%d", i); snprintf(key, sizeof(key), "url_%d", i);
cJSON *url = cJSON_GetObjectItem(params, key); cJSON *url = cJSON_GetObjectItem(params, key);