diff --git a/application/wechat/controller/Fans.php b/application/wechat/controller/Fans.php index 81bdf0d4d..1c3054557 100644 --- a/application/wechat/controller/Fans.php +++ b/application/wechat/controller/Fans.php @@ -41,7 +41,7 @@ class Fans extends BasicAdmin { */ public function index() { $this->title = '微信粉丝管理'; - $db = Db::name($this->table)->where('is_back', '0')->order('id desc'); + $db = Db::name($this->table)->where('is_back', '0')->order('subscribe_time desc'); $get = $this->request->get(); !empty($get['sex']) && $db->where('sex', $get['sex']); foreach (['nickname', 'country', 'province', 'city'] as $key) {