Commit a3f92040 authored by zhuwei's avatar zhuwei

是否被收藏-bug

parent 6ac9d2c6
......@@ -294,12 +294,10 @@ class Member extends Basic{
//是否被收藏
$data_list[$k]["is_collect"] = 2;
Log::write($params["agent_id"], '是否被收藏-检查-agent_id'); //记录日志
Log::write($v["id"], '是否被收藏-检查-user_id'); //记录日志
if($params["agent_id"] && $v["id"]){
if($params["agent_id_for_bind"] && $v["id"]){
//先判断是否已经存在数据
$field = 'id,status';
$get_params['agents_id'] = $params["agent_id"];
$get_params['agents_id'] = $params["agent_id_for_bind"];
$get_params['user_id'] = $v["id"];
$collect_house = new ACollectUser();
$res = $collect_house->getCollectUser($field, $get_params);
......
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