Commit bdb4f22d authored by clone's avatar clone

bug

parent 351b4f91
...@@ -65,7 +65,7 @@ class LookShop extends Basic ...@@ -65,7 +65,7 @@ class LookShop extends Basic
/* $params = array( /* $params = array(
"store_id" => 1, "store_id" => 1,
);*/ );*/
if (!isset($params["store_id"])) { if (!isset($params["store_id"]) && $params["store_id"] <= 0) {
return $this->response("101", "请求参数错误"); return $this->response("101", "请求参数错误");
} }
$field = "id,store_id,level,name,phone,img"; $field = "id,store_id,level,name,phone,img";
......
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