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