Commit 9de905e6 authored by zhuwei's avatar zhuwei

bug

parent f97e516b
......@@ -298,13 +298,13 @@ class Member extends Basic{
$service_broker = new BrokerService();
$check_data = $service_broker->checkSite($this->userId, $this->params['site_id']);
if ($check_data) {
$where['a.site_ids'] = $this->params['a.site_id'];
$where['a.site_ids'] = [ 'LIKE', '%' . $this->params['site_id'] . '%' ];
} else {
$where['a.site_ids'] = [ 'LIKE', '%' . $this->siteId . '%' ];
}
}
}
// dump($where);exit;
$fields = 'a.id,a.user_nick,a.create_time,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.user_label,
a.user_name,a.status,a.first_login_time,a.last_login_time,a.agent_id,a.vip,a.price_demand,a.industry_type,a.area_demand,a.user_status,a.source';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment