Update Global.java

pull/586/head
FongMi 2 years ago
parent cfdbe84745
commit 4c34efc480
  1. 6
      quickjs/src/main/java/com/fongmi/quickjs/method/Global.java

@ -89,6 +89,12 @@ public class Global {
return getProxy(!dynamic) + "&from=catvod" + "&siteType=" + siteType + "&siteKey=" + siteKey + "&header=" + URLEncoder.encode(headers.stringify()) + "&url=" + URLEncoder.encode(url);
}
@Keep
@JSMethod
public String js2Proxy(Boolean dynamic, Integer siteType, String siteKey, String url, JSObject headers, Boolean live) {
return js2Proxy(dynamic, siteType, siteKey, url, headers) + "&live=" + live;
}
@Keep
@JSMethod
public Object setTimeout(JSFunction func, Integer delay) {

Loading…
Cancel
Save