曾超新 5 years ago
parent eb1830f1e9
commit cf4c4ab914
  1. 4
      frontend/controllers/PhoneController.php

@ -278,9 +278,7 @@ class PhoneController extends \yii\web\Controller
//$b = new GiftCreateImageErrorT(); //$b = new GiftCreateImageErrorT();
$network_phone = NetworkPhoneT::findOne(['recorder_id'=>$recorder_id,'caller'=>$caller,'called'=>$called,'caller_show'=>$caller_show]); $network_phone = NetworkPhoneT::findOne(['recorder_id'=>$recorder_id,'caller'=>$caller,'called'=>$called,'caller_show'=>$caller_show]);
var_dump($network_phone); if((!$recorder_id&&!$caller&&!$called&&!$caller_show) || !$network_phone){
exit;
if(!$network_phone){
$network_phone = new NetworkPhoneT(); $network_phone = new NetworkPhoneT();
$assign = NetworkPhoneAssignT::findOne(['phone'=>$caller,'is_phone'=>1]); $assign = NetworkPhoneAssignT::findOne(['phone'=>$caller,'is_phone'=>1]);

Loading…
Cancel
Save