|
|
@@ -188,7 +188,7 @@ class Service |
|
|
|
try { |
|
|
|
$pay = new Pay(self::getConfig($type)); |
|
|
|
$data = $type == 'wechat' ? file_get_contents("php://input") : request()->post('', null, 'trim'); |
|
|
|
|
|
|
|
file_put_contents(APP_PATH . '/log/' . date('Y-m-d') . '.log', json_encode($data) . PHP_EOL, FILE_APPEND); |
|
|
|
$data = $pay->driver($type)->gateway()->verify($data); |
|
|
|
|
|
|
|
if ($type == 'alipay') { |
|
|
|