Commit 19132205 authored by zw's avatar zw

searchOrder bug

parent 045d0f32
......@@ -460,6 +460,9 @@ class OrderLog extends Basic
if (!isset($params["type"]) || !isset($params["agent_id"]) || !isset($params["search_keyword"])) {
return $this->response("101", "请求参数错误");
}
if(($params["type"] == 6 || $params["type"] == 7) && !is_int($params["search_keyword"])){
return $this->response("101", "客户编号或商铺编号错误");
}
try {
$result = $this->service_->getSearchOrder($params);
if (count($result) > 0) {
......
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