Skip to content

Commit b5da4e1

Browse files
committed
零点重置『私人雷达』缓存
1 parent a6d9e7d commit b5da4e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

QPlayer2_Ajax.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ public function __construct($options)
7777
case 'artist':
7878
$arg2 = 50;
7979
break;
80+
default:
81+
if ($cache != null && 'neteaseplaylist3136952023' === $key) {
82+
date_default_timezone_set('Asia/Shanghai');
83+
$expire = strtotime('+1 day, 00:01:00') - time();
84+
}
8085
}
8186
$data = $m->$type($id, $arg2);
8287
$data = json_decode($data, true);

0 commit comments

Comments
 (0)