WIN-2308041133\Administrator 5 ماه پیش
والد
کامیت
03c6f5ed9c
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      app/controller/api/user/User.php

+ 3 - 3
app/controller/api/user/User.php

@@ -205,7 +205,7 @@ class User extends BaseController
         [$start,$stop]= $this->request->params(['start','stop'],true);
         $where['date'] = $start&&$stop ? date('Y/m/d',$start).'-'.date('Y/m/d',$stop) : '';
         $where['category'] = 'brokerage';
-        $where['pm'] = $this->request->param('pm', 0);
+        $where['pm'] = $this->request->param('pm', '');
         return app('json')->success($billRepository->userList($where, $this->request->uid(), $page, $limit));
     }
     /**
@@ -219,7 +219,7 @@ class User extends BaseController
     {
         [$page, $limit] = $this->getPage();
         [$start,$stop]= $this->request->params(['start','stop'],true);
-        $pm =  $this->request->param('pm', 0);
+        $pm =  $this->request->param('pm', '');
         return app('json')->success($billRepository->userList([
 //            'award_range' => $this->request->param('type', 0),
         'date'=> $start&&$stop ? date('Y/m/d',$start).'-'.date('Y/m/d',$stop) : '',
@@ -239,7 +239,7 @@ class User extends BaseController
     {
         [$page, $limit] = $this->getPage();
         [$start,$stop]= $this->request->params(['start','stop'],true);
-        $pm =  $this->request->param('pm', 0);
+        $pm =  $this->request->param('pm', '');
         return app('json')->success($billRepository->userList([
 //            'award_integral' => $this->request->param('type', 0),
             'date'=> $start&&$stop ? date('Y/m/d',$start).'-'.date('Y/m/d',$stop) : '',