quanwei
2025-12-05 feda780069d64479c0c20493603717e100655da9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
 
namespace app\branch\controller\data;
 
use app\branch\controller\Controller;
use app\branch\model\user\Favorite as FavoriteModel;
use app\branch\model\user\User as UserModel;
/**
 * 关注用户控制器
 */
class User extends Controller
{
    /**
     * 关注用户列表
     */
    public function lists()
    {
        $branch = $this->branch['user'];
        // $model = new FavoriteModel();
        $model = new UserModel();
        $list = $model->getUserList($branch['branch_id'], $this->postData());
        return $this->renderSuccess('', compact('list'));
    }
 
    /**
     * 公众号用户列表 by lyzflash 
     */
    public function mplists()
    {
        $branch = $this->branch['user'];
        $model = new UserModel();
        $list = $model->getUserList($branch['branch_id'], $this->postData());
        return $this->renderSuccess('', compact('list'));
    }
}