fix: resolve traffic reset time generation and refactor reset logic

- Add fix-null mode to ResetTraffic command
- Refactor reset logic for better separation of concerns
- Update migration to reuse fix functionality
This commit is contained in:
xboard
2025-07-19 14:22:01 +08:00
parent 063a10f6bb
commit bcfda44730
6 changed files with 190 additions and 296 deletions

View File

@@ -138,7 +138,10 @@ class UserController extends Controller
'd',
'transfer_enable',
'email',
'uuid'
'uuid',
'device_limit',
'speed_limit',
'next_reset_at'
])
->first();
if (!$user) {