@ -385,6 +385,9 @@ class CommonController extends \yii\web\Controller
}
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;
$.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) {