Browse Source

fix:修复钱包明细

景好勇 4 months ago
parent
commit
afec798219
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/Http/Controllers/Client/WalletController.php

+ 3 - 1
app/Http/Controllers/Client/WalletController.php

@@ -38,7 +38,9 @@ class WalletController extends Controller
      */
     public function records()
     {
-        return $this->service->getWalletRecords(Auth::user()->id, request('per_page', 10));
+        return $this->success(
+            $this->service->getWalletRecords(Auth::user()->id, request('per_page', 10))
+        );
     }
 
     /**