Update
This commit is contained in:
parent
71f2e8df92
commit
41f1043701
|
|
@ -7,10 +7,10 @@ import com.whl.quickjs.wrapper.QuickJSContext;
|
||||||
|
|
||||||
public class Method {
|
public class Method {
|
||||||
|
|
||||||
private final QuickJSContext context;
|
private QuickJSContext ctx;
|
||||||
|
|
||||||
public Method(QuickJSContext context) {
|
public Method(QuickJSContext ctx) {
|
||||||
this.context = context;
|
this.ctx = ctx;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Keep
|
@Keep
|
||||||
|
|
@ -18,14 +18,4 @@ public class Method {
|
||||||
public void showToast(String msg) {
|
public void showToast(String msg) {
|
||||||
Utils.notify(msg);
|
Utils.notify(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Keep
|
|
||||||
public static class test {
|
|
||||||
|
|
||||||
@Keep
|
|
||||||
@JSMethod
|
|
||||||
public int add(int a, int b) {
|
|
||||||
return a + b;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
8ebd953e794760d656dc0e0cbe9f8d65
|
ae1463f4584754ef50ab902920ccb7da
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;8ebd953e794760d656dc0e0cbe9f8d65",
|
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;ae1463f4584754ef50ab902920ccb7da",
|
||||||
"wallpaper": "https://gao.chuqiuyu.tk",
|
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;8ebd953e794760d656dc0e0cbe9f8d65",
|
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;ae1463f4584754ef50ab902920ccb7da",
|
||||||
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
|
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue