mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改粉丝列表排序
This commit is contained in:
parent
e65492eb9f
commit
4551bfb698
@ -41,7 +41,7 @@ class Fans extends BasicAdmin {
|
|||||||
*/
|
*/
|
||||||
public function index() {
|
public function index() {
|
||||||
$this->title = '微信粉丝管理';
|
$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();
|
$get = $this->request->get();
|
||||||
!empty($get['sex']) && $db->where('sex', $get['sex']);
|
!empty($get['sex']) && $db->where('sex', $get['sex']);
|
||||||
foreach (['nickname', 'country', 'province', 'city'] as $key) {
|
foreach (['nickname', 'country', 'province', 'city'] as $key) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user