dev
曾超新 5 years ago
parent 6f91219a81
commit 7f15ed0c00
  1. 5
      frontend/controllers/CommonController.php
  2. 2
      frontend/views/common/call-phone.php

@ -385,6 +385,9 @@ class CommonController extends \yii\web\Controller
} }
public function actionCallPhone() { public function actionCallPhone() {
return $this->render('call-phone'); $user_info = $this->my;
return $this->render('call-phone',[
'user_info' => $user_info
]);
} }
} }

@ -182,7 +182,7 @@ use \common\libs\MyLib;
var number_one = phone; var number_one = phone;
$.get('/phone/ax-out',{'phone':number_one,'user_id':'1'},function(obj){ $.get('/phone/ax-out',{'phone':number_one,'user_id':'<?=$user_info->id?>'},function(obj){
if(obj.success) { if(obj.success) {

Loading…
Cancel
Save