Commit 68c9cba1 by 杨树贤

限制问题

parent aaca8261
...@@ -31,7 +31,7 @@ class InquiryApiController extends Controller ...@@ -31,7 +31,7 @@ class InquiryApiController extends Controller
{ {
$searchKeyWord = $request->input('keyword'); $searchKeyWord = $request->input('keyword');
$status = $request->input('status'); $status = $request->input('status');
$limit = $request->input('limit'); $limit = $request->input('limit',10);
$userId = $request->user->id; $userId = $request->user->id;
$result = InquiryService::getInquiryList($userId,$searchKeyWord, $status,$limit); $result = InquiryService::getInquiryList($userId,$searchKeyWord, $status,$limit);
return $this->setSuccessData($result['data'],$result['total']); return $this->setSuccessData($result['data'],$result['total']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment