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
<?php
 
namespace app\supplier\controller\data;
 
use app\supplier\controller\Controller;
use app\supplier\model\user\Favorite as FavoriteModel;
use app\supplier\model\user\User as UserModel;
/**
 * 关注用户控制器
 */
class User extends Controller
{
    /**
     * 关注用户列表
     */
    public function lists()
    {
        $supplier = $this->supplier['user'];
        $model = new FavoriteModel();
        $list = $model->getUserList($supplier['shop_supplier_id'], $this->postData());
        return $this->renderSuccess('', compact('list'));
    }
 
    /**
     * 公众号用户列表 by lyzflash 
     */
    public function mplists()
    {
        $supplier = $this->supplier['user'];
        $model = new UserModel();
        $list = $model->getUserList($supplier['shop_supplier_id'], $this->postData());
        return $this->renderSuccess('', compact('list'));
    }
}