wzq преди 5 години
родител
ревизия
3e35263da2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Repositories/Post/PostRepository.php

+ 1 - 1
app/Repositories/Post/PostRepository.php

@@ -534,7 +534,7 @@ class PostRepository
         return Response::create([
             'message'  => '成功',
             'status_code'   => 200,
-            'type'   => $type
+            'data'   => $type
         ]);
     }