From cbd36445f09789cf14cbe29970352c52fdbc291f Mon Sep 17 00:00:00 2001 From: shouko Date: Wed, 28 Oct 2026 22:40:04 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=E7=A9=BA=E7=99=BD=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=20maipulse-config.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 仓库根和 maipulse/ 各一份,字段全空,UTF-8 无 BOM --- README.md | 3 +++ maipulse-config.json | 13 +++++++++++++ maipulse/maipulse-config.json | 13 +++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 maipulse-config.json create mode 100644 maipulse/maipulse-config.json diff --git a/README.md b/README.md index e4e953e..43888e6 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,9 @@ android/ Android 壳工程(Gradle + MainActivity) 填完在设置页点「导入配置」加载 JSON,或者直接改这两个文件后重启。 +仓库根目录有一份空白模板 `maipulse-config.json`(`maipulse/` 下也放了一份),所有字段都是空的, +照着填就行。文件要存成 UTF-8 无 BOM,否则 JSON 解析会失败。 + ## 跑起来 先把配置模板复制一份,否则 import 会缺 config: diff --git a/maipulse-config.json b/maipulse-config.json new file mode 100644 index 0000000..66ad6be --- /dev/null +++ b/maipulse-config.json @@ -0,0 +1,13 @@ +{ + "aesIV": "", + "aesKey": "", + "apiVersion": "", + "baseUrl": "", + "clientId": "", + "keychip": "", + "obfuscate": "", + "placeId": "", + "placeName": "", + "regionId": "", + "regionName": "" +} diff --git a/maipulse/maipulse-config.json b/maipulse/maipulse-config.json new file mode 100644 index 0000000..66ad6be --- /dev/null +++ b/maipulse/maipulse-config.json @@ -0,0 +1,13 @@ +{ + "aesIV": "", + "aesKey": "", + "apiVersion": "", + "baseUrl": "", + "clientId": "", + "keychip": "", + "obfuscate": "", + "placeId": "", + "placeName": "", + "regionId": "", + "regionName": "" +}