dev
曾超新 5 years ago
parent 3bd88bab90
commit 96238e8ecc
  1. 5
      frontend/controllers/CommonController.php
  2. 2
      frontend/views/common/call-phone.php

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

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

Loading…
Cancel
Save