WIN-2308041133\Administrator il y a 6 mois
Parent
commit
787afa9ae1
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 4 2
      app/controller/api/user/User.php

+ 4 - 2
app/controller/api/user/User.php

@@ -217,8 +217,9 @@ class User extends BaseController
     {
         [$page, $limit] = $this->getPage();
         return app('json')->success($billRepository->userList([
-            'award_range' => $this->request->param('type', 0),
+//            'award_range' => $this->request->param('type', 0),
             'status' => 1,
+            'category' => 'award_range'
         ], $this->request->uid(), $page, $limit));
     }
     /**
@@ -232,8 +233,9 @@ class User extends BaseController
     {
         [$page, $limit] = $this->getPage();
         return app('json')->success($billRepository->userList([
-            'award_integral' => $this->request->param('type', 0),
+//            'award_integral' => $this->request->param('type', 0),
             'status' => 1,
+            'category' => 'award_integral'
         ], $this->request->uid(), $page, $limit));
     }
     /**