mirror of
https://github.com/lkeme/BiliHelper-personal.git
synced 2025-12-19 01:20:08 +08:00
[version] v2.0.1
This commit is contained in:
parent
f79488ba67
commit
7ec36187df
@ -16,7 +16,7 @@
|
||||
|
||||
<p align="center">
|
||||
|
||||
<img src="https://img.shields.io/badge/Version-2.0.0.220822-orange.svg?longCache=true&style=for-the-badge">
|
||||
<img src="https://img.shields.io/badge/Version-2.0.0.220911-orange.svg?longCache=true&style=for-the-badge">
|
||||
<img src="https://img.shields.io/badge/PHP-8.1+-green.svg?longCache=true&style=for-the-badge">
|
||||
<img src="https://img.shields.io/badge/Composer-latest-blueviolet.svg?longCache=true&style=for-the-badge">
|
||||
<img src="https://img.shields.io/badge/License-mit-blue.svg?longCache=true&style=for-the-badge">
|
||||
|
||||
@ -8,6 +8,26 @@
|
||||
|
||||
[comment]: <> (</details>)
|
||||
|
||||
## v2.0.1.220911 alpha (2022-09-11)
|
||||
|
||||
### Added
|
||||
|
||||
- 大會員積分插件
|
||||
|
||||
### Changed
|
||||
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 命令行解析錯誤
|
||||
- 掃碼登錄異常
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
-
|
||||
|
||||
## v2.0.0.220822 alpha (2022-08-22)
|
||||
|
||||
### Added
|
||||
|
||||
@ -100,7 +100,7 @@ class Login extends BasePlugin
|
||||
$this->login();
|
||||
}
|
||||
// Token存在\校验有效性\否则调用登录
|
||||
$this->keepAlive($token, $r_token);
|
||||
$this->keepLogin();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -7,10 +7,10 @@
|
||||
"dev_raw_url": "https://gh.notifyplus.cf/https://github.com/lkeme/BiliHelper-personal/blob/dev/resources/version.json",
|
||||
"master_purge_url": "https://cdn.staticaly.com/gh/lkeme/BiliHelper-personal/master/resources/version.json",
|
||||
"dev_purge_url": "https://cdn.staticaly.com/gh/lkeme/BiliHelper-personal/dev/resources/version.json",
|
||||
"version": "2.0.0.220822",
|
||||
"version": "2.0.1.220911",
|
||||
"des": "程序有更新,请及时线上查看更新哦~",
|
||||
"time": "2022年08月18日",
|
||||
"time": "2022年09月11日",
|
||||
"ini_version": "0.0.1",
|
||||
"ini_des": "配置有更新,请及时线上查看更新哦~",
|
||||
"ini_time": "2022年08月18日"
|
||||
"ini_time": "2022年09月11日"
|
||||
}
|
||||
|
||||
@ -83,6 +83,7 @@ class Cache extends SingleTon
|
||||
{
|
||||
// Set a key
|
||||
// $users->set('bob', ['email' => 'bob@site.com', 'password' => '123456']);
|
||||
// echo "Set|{$classname}|Key|{$key}|Value|{$value}" . PHP_EOL;
|
||||
self::getInstance()->getCache($classname)->set($key, $value);
|
||||
}
|
||||
|
||||
@ -97,6 +98,8 @@ class Cache extends SingleTon
|
||||
// Get a key
|
||||
// $user = $users->get('bob');
|
||||
// echo 'Bob, your email is ' . $user['email'];
|
||||
// $value = self::getInstance()->getCache($classname)->get($key);
|
||||
// echo "Get|{$classname}|Key|{$key}|Value|{$value}" . PHP_EOL;
|
||||
return self::getInstance()->getCache($classname)->get($key);
|
||||
}
|
||||
|
||||
@ -156,4 +159,4 @@ class Cache extends SingleTon
|
||||
array_shift($backtraces);
|
||||
return pathinfo(basename($backtraces[2]['file']))['filename'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -92,7 +92,7 @@ LOGO;
|
||||
*/
|
||||
protected function transArgv(array $argv): array
|
||||
{
|
||||
if (!str_contains($argv[1], ':')) {
|
||||
if (isset($argv[1]) && !str_contains($argv[1], ':')) {
|
||||
unset($argv[1]);
|
||||
}
|
||||
return array_values($argv);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user