pull/1679/head
kunfei 3 years ago
parent 122a144a33
commit 749258df2a
  1. 3
      app/src/main/java/io/legado/app/api/controller/BookController.kt

@ -305,7 +305,8 @@ object BookController {
*/
fun getWebReadConfig(): ReturnData {
val returnData = ReturnData()
val data = CacheManager.get("webReadConfig") ?: "{}"
val data = CacheManager.get("webReadConfig")
?: return returnData.setErrorMsg("没有配置")
return returnData.setData(data)
}

Loading…
Cancel
Save