From 2483e1a9afe31eb39368cc6907e4c6be285adc7f Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Fri, 18 Oct 2019 03:05:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=B5=E8=AF=9D=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/PhoneController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/controllers/PhoneController.php b/frontend/controllers/PhoneController.php index e98dbba..ba6b1d0 100644 --- a/frontend/controllers/PhoneController.php +++ b/frontend/controllers/PhoneController.php @@ -296,7 +296,7 @@ class PhoneController extends \yii\web\Controller $user_id = $assign1->user_id; $is_called = 1; } else { - return json_encode(['code' => 0,'message' => "成功"]); + return json_encode(['code' => 400,'message' => "失败"]); } } $network_phone->user_id=$user_id;