mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
release v1.6.0
This commit is contained in:
@@ -26,9 +26,11 @@
|
||||
|
||||
## 更多信息
|
||||
博客:[https://nexusphp.org](http://nexusphp.org/)
|
||||
论坛:[https://discuss.nexusphp.org](https://discuss.nexusphp.org/)
|
||||
文档:[https://doc.nexusphp.org](http://doc.nexusphp.org/)
|
||||
Telegram: [https://t.me/nexusphp](https://t.me/nexusphp)
|
||||
论坛:[https://discuss.nexusphp.org](https://discuss.nexusphp.org/)
|
||||
QQ群: [764452568](https://jq.qq.com/?_wv=1027&k=IbltZcIx)
|
||||

|
||||
Telegram: [https://t.me/nexusphp](https://t.me/nexusphp)
|
||||
B站: [xiaomlove](https://space.bilibili.com/1319303059)
|
||||
微信公众号:
|
||||

|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ class UserResource extends JsonResource
|
||||
'uploaded_text' => mksize($this->uploaded),
|
||||
'downloaded' => $this->downloaded,
|
||||
'downloaded_text' => mksize($this->downloaded),
|
||||
'bonus' => $this->seedbonus,
|
||||
'bonus' => number_format($this->seedbonus, 1),
|
||||
'seed_points' => floatval($this->seed_points),
|
||||
'seedtime' => $this->seedtime,
|
||||
'seedtime_text' => mkprettytime($this->seedtime),
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.6.0');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-03-08');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-03-14');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', true);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
@@ -40,7 +40,7 @@ if (!$row) {
|
||||
} else {
|
||||
$owner = \App\Models\User::query()->with(['valid_medals'])->find($row['owner']);
|
||||
if (!$owner) {
|
||||
$owner = \App\Models\User::defaultUser();
|
||||
$owner = \App\Models\User::defaultUser();
|
||||
}
|
||||
$torrentRep = new \App\Repositories\TorrentRepository();
|
||||
$torrentUpdate = [];
|
||||
|
||||
Reference in New Issue
Block a user