|
|
@@ -217,8 +217,10 @@ class User extends BaseController
|
|
|
public function award_range_list(UserBillRepository $billRepository)
|
|
|
{
|
|
|
[$page, $limit] = $this->getPage();
|
|
|
+ [$start,$stop]= $this->request->params(['start','stop'],true);
|
|
|
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) : '',
|
|
|
'status' => 1,
|
|
|
'category' => 'award_range'
|
|
|
], $this->request->uid(), $page, $limit));
|
|
|
@@ -233,8 +235,10 @@ class User extends BaseController
|
|
|
public function award_integral_list(UserBillRepository $billRepository)
|
|
|
{
|
|
|
[$page, $limit] = $this->getPage();
|
|
|
+ [$start,$stop]= $this->request->params(['start','stop'],true);
|
|
|
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) : '',
|
|
|
'status' => 1,
|
|
|
'category' => 'award_integral'
|
|
|
], $this->request->uid(), $page, $limit));
|