|
|
@ -737,7 +737,7 @@ class PhoneController extends \yii\web\Controller |
|
|
|
|
|
|
|
|
|
|
|
$assign = NetworkPhoneAssignT::find()->where('user_id='.$user_id)->one(); |
|
|
|
$assign = NetworkPhoneAssignT::find()->where('user_id='.$user_id)->one(); |
|
|
|
if(!$assign){ |
|
|
|
if(!$assign){ |
|
|
|
$request['msg'] = '该账号无绑定主叫号码'; |
|
|
|
$result['msg'] = '该账号无绑定主叫号码'; |
|
|
|
return $result; |
|
|
|
return $result; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -749,7 +749,7 @@ class PhoneController extends \yii\web\Controller |
|
|
|
$count = count($total_ids); |
|
|
|
$count = count($total_ids); |
|
|
|
|
|
|
|
|
|
|
|
if($count<= 0){ |
|
|
|
if($count<= 0){ |
|
|
|
$request['msg'] = '该主叫号码无绑定子号码'; |
|
|
|
$result['msg'] = '该主叫号码无绑定子号码'; |
|
|
|
return $result; |
|
|
|
return $result; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|