improve install & update

This commit is contained in:
xiaomlove
2021-06-05 17:04:53 +08:00
parent b8e82e4bae
commit ac15e23f2e
5 changed files with 5 additions and 5 deletions
+1
View File
@@ -315,6 +315,7 @@ class TorrentRepository extends BaseRepository
->where('uid', $uid)
->whereIn('torrent_id', [0, $id])
->orderBy('torrent_id', 'desc')
->orderBy('id', 'desc')
->first();
if ($secret) {
return $secret->secret;