Commit 81b0c628 authored by hujun's avatar hujun

请求参数判断

parent d935a6aa
......@@ -134,10 +134,12 @@ class CallPhoneService
$phone_x_arr = $bind->getPhoneX('b.phone_x,a.subsId', $where); //已经绑定的返回隐私号码
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'];
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') {
$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