From 2b84c499c1da5f4be24244a9980458f067a98cec Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Wed, 6 Nov 2019 15:19:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=94=B5=E8=AF=9D=E6=8B=A8?= =?UTF-8?q?=E5=8F=B7=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/PhoneController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/controllers/PhoneController.php b/frontend/controllers/PhoneController.php index e82e5cf..8d33d84 100644 --- a/frontend/controllers/PhoneController.php +++ b/frontend/controllers/PhoneController.php @@ -737,6 +737,7 @@ class PhoneController extends \yii\web\Controller $assign = NetworkPhoneAssignT::find()->where('user_id='.$user_id)->one(); if(!$assign){ + $request['msg'] = '该账号无绑定主叫号码'; return $result; } @@ -748,6 +749,7 @@ class PhoneController extends \yii\web\Controller $count = count($total_ids); if($count<= 0){ + $request['msg'] = '该主叫号码无绑定子号码'; return $result; }