|
@@ -845,8 +845,30 @@ class User extends BaseController
|
|
|
$data = $repository->userList(['category' => 'integral'], $id, $page, $limit);
|
|
$data = $repository->userList(['category' => 'integral'], $id, $page, $limit);
|
|
|
return app('json')->success($data);
|
|
return app('json')->success($data);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 分红积分记录
|
|
|
|
|
+ * @param $id
|
|
|
|
|
+ * @author Qinii
|
|
|
|
|
+ * @day 2023/4/25
|
|
|
|
|
+ */
|
|
|
|
|
+ public function awardIntegralList($id, UserBillRepository $repository)
|
|
|
|
|
+ {
|
|
|
|
|
+ [$page, $limit] = $this->getPage();
|
|
|
|
|
+ $data = $repository->userList(['category' => 'award_integral'], $id, $page, $limit);
|
|
|
|
|
+ return app('json')->success($data);
|
|
|
|
|
+ }
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 分红额度记录
|
|
|
|
|
+ * @param $id
|
|
|
|
|
+ * @author Qinii
|
|
|
|
|
+ * @day 2023/4/25
|
|
|
|
|
+ */
|
|
|
|
|
+ public function awardRangeList($id, UserBillRepository $repository)
|
|
|
|
|
+ {
|
|
|
|
|
+ [$page, $limit] = $this->getPage();
|
|
|
|
|
+ $data = $repository->userList(['category' => 'award_range'], $id, $page, $limit);
|
|
|
|
|
+ return app('json')->success($data);
|
|
|
|
|
+ }
|
|
|
/**
|
|
/**
|
|
|
* 签到记录
|
|
* 签到记录
|
|
|
* @param $id
|
|
* @param $id
|