Commit 681f65a7 authored by zw's avatar zw

searchOrder bug

parent 9b8c85ea
......@@ -457,7 +457,7 @@ class OrderLog extends Basic
"agent_id" => 4022,
"search_keyword" => "程"
);*/
if (!isset($params["type"]) || !isset($params["agent_id"]) || !isset($params["search_keyword"])) {
if (!isset($params["type"]) || !isset($params["agent_id"]) || empty($params["search_keyword"])) {
return $this->response("101", "请求参数错误");
}
if(($params["type"] == 6 || $params["type"] == 7) && !preg_match("/^\d*$/",$params["search_keyword"])){
......
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