|
|
|
@ -1025,7 +1025,7 @@ class PhoneController extends \yii\web\Controller |
|
|
|
|
} |
|
|
|
|
$tel_x = $tel_y = $sub_infos[mt_rand(0,$count-1)]['phone']; |
|
|
|
|
|
|
|
|
|
$parmas = [ |
|
|
|
|
$params = [ |
|
|
|
|
'appkey' => '0946239060682011', |
|
|
|
|
'ts' => time(), |
|
|
|
|
'caller' => $caller, |
|
|
|
@ -1035,9 +1035,9 @@ class PhoneController extends \yii\web\Controller |
|
|
|
|
'tel_x' =>$tel_x, |
|
|
|
|
'tel_y' =>$tel_y |
|
|
|
|
]; |
|
|
|
|
ksort($parmas); |
|
|
|
|
$parmas['sign'] = md5(http_build_query($parmas) . '&secret=3E8QV35pHjjev1713E61xV3tFq1N1E4W'); |
|
|
|
|
$res = MyLib::Post(json_encode($parmas), 'http://api.1ketong.com/ykt-pool/number/ax2/call_out', false, [ |
|
|
|
|
ksort($params); |
|
|
|
|
$params['sign'] = md5(http_build_query($params) . '&secret=3E8QV35pHjjev1713E61xV3tFq1N1E4W'); |
|
|
|
|
$res = MyLib::Post(json_encode($params), 'http://api.1ketong.com/ykt-pool/number/ax2/call_out', false, [ |
|
|
|
|
"Content-Type: application/json;charset=UTF-8", |
|
|
|
|
"Accept:application/json", |
|
|
|
|
]); |
|
|
|
|