Commit 5d065245 authored by wangzhengwen's avatar wangzhengwen

rank

parent 1d3cbce4
......@@ -218,7 +218,7 @@ class User extends BaseController
public function rankUserExperience(Request $request)
{
$limit = $request->param('limit/d', 1);
$limit = $request->param('limit/d', 5);
$type = $request->param('type', 'all');
......
......@@ -169,7 +169,7 @@ class Project extends BaseController
public function rankProjectCompletionList(Request $request)
{
$limit = $request->param('limit/d', 1);
$limit = $request->param('limit/d', 5);
$type = $request->param('type', 'all');
......
......@@ -150,6 +150,7 @@ class Cert extends Model
$list = $query->field('id,thumb_id,title,createtime,description,shrq,fzjg,price,tag_ids,start_time,end_time')
->with(['thumb'])
->append(['end_time_txt'])
->paginate([
'page' => $page,
'list_rows' => $pageSize
......
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 to comment