WIN-2308041133\Administrator 5 mesi fa
parent
commit
45a2859352
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      app/controller/api/user/User.php

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

@@ -222,7 +222,8 @@ class User extends BaseController
 //            'award_range' => $this->request->param('type', 0),
         'date'=> $start&&$stop ? date('Y/m/d',$start).'-'.date('Y/m/d',$stop) : '',
             'status' => 1,
-            'category' => 'award_range'
+            'category' => 'award_range',
+            'pm'=>$this->request->params('pm',true)
         ], $this->request->uid(), $page, $limit));
     }
     /**
@@ -240,7 +241,8 @@ class User extends BaseController
 //            'award_integral' => $this->request->param('type', 0),
             'date'=> $start&&$stop ? date('Y/m/d',$start).'-'.date('Y/m/d',$stop) : '',
             'status' => 1,
-            'category' => 'award_integral'
+            'category' => 'award_integral',
+            'pm'=>$this->request->params('pm',true)
         ], $this->request->uid(), $page, $limit));
     }
     /**