Commit 3fa20c58 authored by hujun's avatar hujun

隐号回调查询经纪人修改为重构表

parent 0451c3e1
...@@ -29,7 +29,7 @@ class PrivacyNumber ...@@ -29,7 +29,7 @@ class PrivacyNumber
unset($post_data[0]['id']); //阿里大于返回是的id改为report_id unset($post_data[0]['id']); //阿里大于返回是的id改为report_id
if ($post_data[0]['phone_no']) { if ($post_data[0]['phone_no']) {
$agents_id = Db::table('agents')->where("phone='{$post_data[0]['phone_no']}' AND password IS NOT NULL")->value('id'); $agents_id = Db::table('a_agents')->where("phone='{$post_data[0]['phone_no']}' AND password IS NOT NULL")->value('id');
if (empty($agents_id)) { if (empty($agents_id)) {
$agents_id = Db::table('a_agents_phone')->where('phone',$post_data[0]['phone_no'])->value('agents_id'); $agents_id = Db::table('a_agents_phone')->where('phone',$post_data[0]['phone_no'])->value('agents_id');
} }
......
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