|
|
@ -974,9 +974,15 @@ class NotifyController extends BaseController
|
|
|
|
public function outer_callback() {
|
|
|
|
public function outer_callback() {
|
|
|
|
$params = file_get_contents('php://input');
|
|
|
|
$params = file_get_contents('php://input');
|
|
|
|
|
|
|
|
|
|
|
|
ToolLog::write('clientIp' . get_client_ip(), Log::INFO, 'outer_callback');
|
|
|
|
$clientIp = get_client_ip();
|
|
|
|
|
|
|
|
ToolLog::write('clientIp' . $clientIp, Log::INFO, 'outer_callback');
|
|
|
|
ToolLog::write('params:' . $params, Log::INFO, 'outer_callback');
|
|
|
|
ToolLog::write('params:' . $params, Log::INFO, 'outer_callback');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($clientIp != '124.222.24.55') {
|
|
|
|
|
|
|
|
echo 'deny';
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$data = json_decode($params, true);
|
|
|
|
$data = json_decode($params, true);
|
|
|
|
|
|
|
|
|
|
|
|
if ($data['trade_status'] != 'SUCCESS') {
|
|
|
|
if ($data['trade_status'] != 'SUCCESS') {
|
|
|
|