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": "" +}