diff --git a/app/src/main/java/com/novel/read/constant/AppConst.kt b/app/src/main/java/com/novel/read/constant/AppConst.kt index 8f27394..c6f1733 100644 --- a/app/src/main/java/com/novel/read/constant/AppConst.kt +++ b/app/src/main/java/com/novel/read/constant/AppConst.kt @@ -35,8 +35,6 @@ object AppConst { } const val notificationIdRead = 1144771 - const val notificationIdAudio = 1144772 - const val notificationIdWeb = 1144773 const val notificationIdDownload = 1144774 diff --git a/app/src/main/java/com/novel/read/network/ServiceCreator.kt b/app/src/main/java/com/novel/read/network/ServiceCreator.kt index 3a9b62a..0548a2e 100644 --- a/app/src/main/java/com/novel/read/network/ServiceCreator.kt +++ b/app/src/main/java/com/novel/read/network/ServiceCreator.kt @@ -145,7 +145,7 @@ object ServiceCreator { val checkSha = MYGSON.toJson(CheckSumDTO(AppConst.AppId,nonce,time,checkSum)) val request = original.newBuilder().apply { header("model", "Android") -// header("checkSumDTO", checkSha) + header("checkSumDTO", checkSha) header("If-Modified-Since", URLEncoder.encode("${Date()}", "utf-8")) header("User-Agent", System.getProperty("http.agent") ?: "unknown") }.build()