|
@@ -342,10 +342,19 @@ class UserBillController
|
|
|
*/
|
|
|
public function integral_list(Request $request)
|
|
|
{
|
|
|
- list($page, $limit) = UtilService::getMore([
|
|
|
- ['page', 0], ['limit', 0]
|
|
|
+ list($page, $limit, $pm) = UtilService::getMore([
|
|
|
+ ['page', 0], ['limit', 0], ['pm', '']
|
|
|
+ ], $request, true);
|
|
|
+ return app('json')->successful(UserBill::userBillList($request->uid(), $page, $limit, 'integral', $pm));
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ public function cash_list(Request $request)
|
|
|
+ {
|
|
|
+ list($page, $limit, $pm) = UtilService::getMore([
|
|
|
+ ['page', 0], ['limit', 0], ['pm', '']
|
|
|
], $request, true);
|
|
|
- return app('json')->successful(UserBill::userBillList($request->uid(), $page, $limit));
|
|
|
+ return app('json')->successful(UserBill::userBillList($request->uid(), $page, $limit, 'cash', $pm));
|
|
|
|
|
|
}
|
|
|
}
|