|
@@ -42,7 +42,7 @@ class Certificate extends Api
|
|
|
$CertificateModel = new CertificateModel();
|
|
|
$list = $CertificateModel->where($where)->where('is_deleted',1)->with(['goods'=>function($query){
|
|
|
$query->field('id,title,image');
|
|
|
- }])->where('user_id',$uid)->paginate([
|
|
|
+ }])->where('user_id',$uid)->order('id','desc')->paginate([
|
|
|
'list_rows'=> $limit,
|
|
|
'page' => $page,
|
|
|
]);
|