diff --git a/app/build.gradle b/app/build.gradle
index d3c1ce4f..a72d2325 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -8,8 +8,8 @@ android {
applicationId "com.raincat.dolby_beta"
minSdkVersion 14
targetSdkVersion 23
- versionCode 104
- versionName "1.0.4"
+ versionCode 105
+ versionName "1.0.5"
}
buildTypes {
release {
diff --git a/app/src/main/java/com/raincat/dolby_beta/hook/EAPIHook.java b/app/src/main/java/com/raincat/dolby_beta/hook/EAPIHook.java
index 2ac245c5..22438404 100644
--- a/app/src/main/java/com/raincat/dolby_beta/hook/EAPIHook.java
+++ b/app/src/main/java/com/raincat/dolby_beta/hook/EAPIHook.java
@@ -63,9 +63,10 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable {
}
if (modified.contains("\\/api\\/v1\\/content\\/exposure\\/comment\\/banner\\/get")) {
JSONObject jsonObject = new JSONObject(modified);
- jsonObject.put("/api/v1/content/exposure/comment/banner/get", "\"code\":200,\"data\":{\"count\":0,\"offset\":999999999,\"records\":[]},\"message\":\"\"");
+ jsonObject.put("/api/v1/content/exposure/comment/banner/get", "{-\"code-\":200,-\"data-\":{-\"count-\":0,-\"offset-\":999999999,-\"records-\":[]},-\"message-\":-\"-\"}");
modified = jsonObject.toString();
- modified = modified.replace("\\\\\\", "");
+ modified = modified.replace("-\\", "").replace("\"\\/api\\/v1\\/content\\/exposure\\/comment\\/banner\\/get\":\"", "\"\\/api\\/v1\\/content\\/exposure\\/comment\\/banner\\/get\":")
+ .replace("\"message\":\"\"}\"", "\"message\":\"\"}");
}
} else if (path.contains("point/dailyTask")) {
if (original.contains("200") && !original.contains("msg"))
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 3ed9a0f5..57cc5b84 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -103,7 +103,7 @@
compatible_appver
兼容版本
- 4.3.1,6.0.0,6.4.3~7.1.80
+ 4.3.1,6.0.0,6.4.3~7.2.10
github
github源码