Commit cb57e72e authored by clone's avatar clone

1

parent 6f8b73f7
...@@ -36,9 +36,9 @@ class FindShop extends Basic ...@@ -36,9 +36,9 @@ class FindShop extends Basic
public function updateFindShop() public function updateFindShop()
{ {
$params = $this->params; $params = $this->params;
/* $params = array( /* $params = array(
"id"=> 1, //"id"=> 1,
"user_id" => 116, "user_id" => 1,
"user_name" => "111", "user_name" => "111",
"site_id" => 10001, "site_id" => 10001,
"city" => "上海市", "city" => "上海市",
......
...@@ -496,7 +496,9 @@ class PushMessageService ...@@ -496,7 +496,9 @@ class PushMessageService
$client_agent = $m_user->getUserByWhereValue('agent_id', ['id'=>$user_id]); $client_agent = $m_user->getUserByWhereValue('agent_id', ['id'=>$user_id]);
$agent_id = []; $agent_id = [];
if (count($client_agent) > 0) { if (count($client_agent) > 0) {
$agent_id = $client_agent; $agent_id[] = $client_agent;
}else{
return;
} }
$push_type = 12; $push_type = 12;
$this->record($push_type, 0, $agent_id, 0, $data); $this->record($push_type, 0, $agent_id, 0, $data);
......
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