Commit aa9e58d6 authored by zw's avatar zw

bug

parent 59074609
......@@ -528,7 +528,7 @@ class DailyPaperService
$agent_info_field = "id,name,store_id,district_id,level";
$agent_info = $this->aAgentsModel->getAgentById($agent_info_field, $agent_info_arr);
if (count($agent_info) <= 0 || ($agent_info[0]["level"] != 20 && $agent_info[0]["level"] != 40)) {
if (count($agent_info) <= 0 ) {
return ["code" => 101, "msg" => "经纪人信息错误"];
}
......
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