Fix bug
This commit is contained in:
parent
aff3e331b1
commit
1e4e1989e1
|
|
@ -49,7 +49,7 @@ public class Notice extends Spider {
|
||||||
duration = object.optInt("duration", 30);
|
duration = object.optInt("duration", 30);
|
||||||
String date = object.optString("date");
|
String date = object.optString("date");
|
||||||
boolean show = msg.length() > 0 && (date.isEmpty() || new Date().after(sdf.parse(date)));
|
boolean show = msg.length() > 0 && (date.isEmpty() || new Date().after(sdf.parse(date)));
|
||||||
if (show) Init.run(this::createView);
|
if (show) Init.run(this::createView, 500);
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
4698f64899d582ca9986f8c45564dd38
|
de1f015757b7830650e7ee50963a1e0b
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;4698f64899d582ca9986f8c45564dd38",
|
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;de1f015757b7830650e7ee50963a1e0b",
|
||||||
"wallpaper": "https://gao.chuqiuyu.tk",
|
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;4698f64899d582ca9986f8c45564dd38",
|
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;de1f015757b7830650e7ee50963a1e0b",
|
||||||
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
|
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"msg": "FongMi 天下第一",
|
"msg": "",
|
||||||
"date": "20230604000000",
|
"date": "20230607180000",
|
||||||
"duration": 10
|
"duration": 10
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue