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

This commit is contained in:
Anyon 2017-05-25 12:25:38 +08:00
parent 4551bfb698
commit b5372a8377

View File

@ -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) {