DESKTOP-2STQMTS\Administrator 3 years ago
parent
commit
71bb487a55
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Http/Controllers/AdminApi/ApplyController.php

+ 2 - 0
app/Http/Controllers/AdminApi/ApplyController.php

@@ -27,6 +27,7 @@ class ApplyController extends AdminController
                 }
             })
             ->select(['s.id','s.name','s.phone','s.industry','s.created_at','u.name as s_name'])
+            ->orderBy('id','desc')
             ->paginate(10);
 
         return $this->apiResponseSuccess('获取信息成功', [
@@ -98,6 +99,7 @@ class ApplyController extends AdminController
 
         $list = WxSignup::where($where)
             ->select(['id','name','phone','created_at'])
+            ->orderBy('id','desc')
             ->paginate(10);
 
         return $this->apiResponseSuccess('获取信息成功', [