Commit cb66cc99 authored by zw's avatar zw

bug

parent 09c57fa1
......@@ -675,9 +675,9 @@ class Shop extends Basic
foreach ($panPartyArr as $item){
$params["store_id"] = $item["store_id"];
$params["level"] = array("in","20,40");
$agentModel->getStoreIdByAgentId("id",$params);
$result = $agentModel->getStoreIdByAgentId("id",$params);
if($this->agentId == $agentModel[0]["id"]){
if($this->agentId == $result[0]["id"]){
return true;
}
}
......
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