seven 1 ngày trước cách đây
mục cha
commit
5bd156d13d
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      app/Http/Controllers/Controller.php

+ 2 - 1
app/Http/Controllers/Controller.php

@@ -98,7 +98,8 @@ class Controller extends BaseController
         return response()->json([
             'code' => HttpStatus::OK,
             'timestamp' => time(),
-            'msg' => __('messages.' . HttpStatus::OK),
+            // 'msg' => __('messages.' . HttpStatus::OK),
+            'msg' => empty($msg) ? __('messages.' . HttpStatus::OK) : $msg,
             'data' => $data
         ]);
     }