曾超新 5 years ago
parent 257d8e6416
commit f7d9b14cf4
  1. 2
      frontend/controllers/PhoneController.php

@ -283,7 +283,7 @@ class PhoneController extends \yii\web\Controller
'18510510793', '18510510793',
'18612263823' '18612263823'
]; ];
if(!in_array($called,$main_phones)) { if(!in_array($caller,$main_phones)) {
return json_encode(['code' => 400,'message' => "失败"]);; return json_encode(['code' => 400,'message' => "失败"]);;
} }
file_put_contents('/tmp/'.time().rand(100,999).'.log', print_r($request->post(), true)); file_put_contents('/tmp/'.time().rand(100,999).'.log', print_r($request->post(), true));

Loading…
Cancel
Save