Browse Source

[更新]修改粉丝列表排序

Anyon 8 years ago
parent
commit
b5372a8377
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/wechat/controller/Fans.php

+ 1 - 1
application/wechat/controller/Fans.php

@@ -80,7 +80,7 @@ class Fans extends BasicAdmin {
      */
     public function back() {
         $this->title = '微信粉丝黑名单管理';
-        $db = Db::name($this->table)->where('is_back', '1')->order('id desc');
+        $db = Db::name($this->table)->where('is_back', '1')->order('subscribe_time desc');
         $get = $this->request->get();
         !empty($get['sex']) && $db->where('sex', $get['sex']);
         foreach (['nickname', 'country', 'province', 'city'] as $key) {