Commit eb8d1cde authored by hujun's avatar hujun

请求参数判断

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