Added new api

This commit is contained in:
m.razaghi
2026-07-04 17:05:50 +03:30
parent f242b8936a
commit ce5ccc00a1
11 changed files with 1006 additions and 17 deletions

View File

@@ -76,7 +76,7 @@ class AuthController extends Controller
$user = User::where('mobile', $request->mobile)->first();
if (! $user) {
return response()->json(['error' => 'User not found'], 404);
return response()->json(['error' => 'کاربر یافت نشد'], 404);
}
$latestCode = UserCode::where('user_id', $user->id)