Commit 07b5e2d1 authored by hujun's avatar hujun

判断

parent 3c20ef7f
......@@ -133,9 +133,13 @@ class CallPhoneService
$where['a.type'] = $this->is_privacy;
$phone_x_arr = $bind->getPhoneX('b.phone_x,a.subsId', $where); //已经绑定的返回隐私号码
//兼容
$check_data = PlsDemo::querySubscriptionDetail($phone_x_arr['subsId'], $phone_x_arr['phone_x']);
if ($check_data->Code == 'OK') {
if ($this->is_privacy == 1) {
//兼容
$check_data = PlsDemo::querySubscriptionDetail($phone_x_arr['subsId'], $phone_x_arr['phone_x']);
if ($check_data->Code == 'OK') {
$phone_x = $phone_x_arr['phone_x'];
}
} else {
$phone_x = $phone_x_arr['phone_x'];
}
}
......
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