diff --git a/README.md b/README.md index 259a86f3..9ee1b254 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,10 @@ - [点击这里](https://fankes.github.io/YukiHookAPI) 前往文档页面查看更多详细教程和内容。 +> 你可能会遇到浏览器缓存造成文档不是最新版本的问题,若已经查看过一次文档,请手动在每个页面上刷新,以获取最新版本。 + +最新版本更新时间:2022-04-13 13:43 + ## Contacts - [点击加入 Telegram 群组](https://t.me/YukiHookAPI) diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 15334267..53740904 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -12,6 +12,8 @@ - 方便移植 快速上手 +`更新时间 2022-04-13 13:43` + [GitHub](https://github.com/fankes/YukiHookAPI) [Get Started](#介绍) diff --git a/docs/guide/special-feature.md b/docs/guide/special-feature.md index aec9c8af..c5331047 100644 --- a/docs/guide/special-feature.md +++ b/docs/guide/special-feature.md @@ -138,6 +138,7 @@ val instance = Test() // 使用 YukiHookAPI 调用并执行 Test::class.java.method { name = "getName" + emptyParam() returnType = StringType }.get(instance).string() // 得到方法的结果 ``` @@ -152,6 +153,7 @@ val instance = Test() // 使用 YukiHookAPI 调用并执行 Test::class.java.method { name = "getName" + emptyParam() }.get(instance).string() // 得到方法的结果 ``` @@ -217,6 +219,7 @@ Test::class.java.field { ```kotlin Test::class.java.method { name = "init" + emptyParam() }.get().call() ``` @@ -227,6 +230,7 @@ Test::class.java.method { ```kotlin Test::class.java.method { name = "init" + emptyParam() modifiers { // 标识查询的这个方法需要是静态 asStatic() @@ -336,6 +340,7 @@ instance.current { // 执行 stop 方法 method { name = "stop" + emptyParam() }.call() // 得到 name val name = method { name = "getName" }.string() @@ -435,6 +440,7 @@ val instance = Test() // 使用 YukiHookAPI 调用并执行 Test::class.java.method { name = "doTask" + emptyParam() }.remedys { method { name = "doTask" @@ -495,6 +501,7 @@ val currentClass = if("com.demo.ATest".hasClass) classOf("com.demo.ATest") else // 然后再查询这个方法并调用 currentClass.method { name = "doTask" + emptyParam() }.get().call() ``` @@ -507,6 +514,7 @@ currentClass.method { ```kotlin VariousClass("com.demo.ATest", "com.demo.BTest").get().method { name = "doTask" + emptyParam() }.get().call() ``` diff --git a/docs/index.html b/docs/index.html index c6df1e2f..97ec7812 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9,7 +9,9 @@ - + + + @@ -32,8 +34,10 @@ name: 'YukiHookAPI', repo: 'https://github.com/fankes/YukiHookAPI', requestHeaders: { - 'cache-control': 'max-age=0', + 'Cache': 'no-cache', + 'Cache-Control': 'no-cache, must-revalidate', 'Pragma': 'no-cache', + 'Expires': '0', 'If-Modified-Since': 'Thu, 01 Jun 1970 00:00:00 GMT' }, homepage: 'guide/home.md',