add - 自定义视频路径22

This commit is contained in:
yangqiang3504
2022-08-23 15:14:22 +08:00
parent d5e2444569
commit 219b0b2a24
2 changed files with 11 additions and 11 deletions
@@ -20,16 +20,18 @@ public class PushAgentQQ extends Spider {
@Override
public void init(Context context, String extend) {
super.init(context, extend);
pushAgent = new PushAgent();
pushAgent.init(context, extend);
String token = null;
if (extend != null) {
if (!extend.startsWith("http")) {
String[] arr = extend.split(";");
token = arr[0];
this.ext = arr[1];
}else {
this.ext = extend;
}
}
pushAgent = new PushAgent();
pushAgent.init(context, token);
}
protected void fetchRule(boolean flag) {