Commit dd9c400c authored by zw's avatar zw

name

parent 8061dafc
...@@ -521,7 +521,7 @@ class OrderLog extends Basic ...@@ -521,7 +521,7 @@ class OrderLog extends Basic
if (!isset($params["type"]) || !isset($params["agent_id"]) || empty($params["search_keyword"])) { if (!isset($params["type"]) || !isset($params["agent_id"]) || empty($params["search_keyword"])) {
return $this->response("101", "请求参数错误"); return $this->response("101", "请求参数错误");
} }
if(($params["type"] == 6 || $params["type"] == 7) && !preg_match("/^\d*$/",$params["search_keyword"])){ if(($params["type"] == 6 || $params["type"] == 7 || $params["type"] == 8) && !preg_match("/^\d*$/",$params["search_keyword"])){
return $this->response("101", "客户编号或商铺编号错误"); return $this->response("101", "客户编号或商铺编号错误");
} }
$pageNo = empty($params['page_no']) ? 1 : $params['page_no']; $pageNo = empty($params['page_no']) ? 1 : $params['page_no'];
......
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