diff --git a/app/Http/Controllers/Guest/OrderController.php b/app/Http/Controllers/Guest/OrderController.php index 76d7f5d4..89b97207 100644 --- a/app/Http/Controllers/Guest/OrderController.php +++ b/app/Http/Controllers/Guest/OrderController.php @@ -15,7 +15,7 @@ class OrderController extends Controller { public function alipayNotify(Request $request) { - Log::info('alipayNotifyData: ' . json_encode($_POST)); + // Log::info('alipayNotifyData: ' . json_encode($_POST)); $gateway = Omnipay::create('Alipay_AopF2F'); $gateway->setSignType('RSA2'); //RSA/RSA2 $gateway->setAppId(config('v2board.alipay_appid')); @@ -52,7 +52,7 @@ class OrderController extends Controller public function stripeNotify(Request $request) { - Log::info('stripeNotifyData: ' . json_encode($request->input())); + // Log::info('stripeNotifyData: ' . json_encode($request->input())); \Stripe\Stripe::setApiKey(config('v2board.stripe_sk_live')); try { @@ -93,7 +93,7 @@ class OrderController extends Controller public function bitpayXNotify(Request $request) { $inputString = file_get_contents('php://input', 'r'); - Log::info('bitpayXNotifyData: ' . $inputString); + // Log::info('bitpayXNotifyData: ' . $inputString); $inputStripped = str_replace(array("\r", "\n", "\t", "\v"), '', $inputString); $inputJSON = json_decode($inputStripped, true); //convert JSON into array @@ -125,7 +125,7 @@ class OrderController extends Controller public function payTaroNotify(Request $request) { - Log::info('payTaroNotify: ' . json_encode($request->input())); + // Log::info('payTaroNotify: ' . json_encode($request->input())); $payTaro = new PayTaro(config('v2board.paytaro_app_id'), config('v2board.paytaro_app_secret')); if (!$payTaro->verify($request->input())) { diff --git a/app/Http/Controllers/Server/DeepbworkController.php b/app/Http/Controllers/Server/DeepbworkController.php index 2d5b6c30..126d8315 100644 --- a/app/Http/Controllers/Server/DeepbworkController.php +++ b/app/Http/Controllers/Server/DeepbworkController.php @@ -59,7 +59,7 @@ class DeepbworkController extends Controller // 后端提交数据 public function submit(Request $request) { - Log::info('serverSubmitData:' . $request->input('node_id') . ':' . file_get_contents('php://input')); + // Log::info('serverSubmitData:' . $request->input('node_id') . ':' . file_get_contents('php://input')); $server = Server::find($request->input('node_id')); if (!$server) { return response([ diff --git a/app/Http/Controllers/Server/PoseidonController.php b/app/Http/Controllers/Server/PoseidonController.php index 3a0f7d3c..cdb2ba46 100644 --- a/app/Http/Controllers/Server/PoseidonController.php +++ b/app/Http/Controllers/Server/PoseidonController.php @@ -51,7 +51,7 @@ class PoseidonController extends Controller { if ($r = $this->verifyToken($request)) { return $r; } - Log::info('serverSubmitData:' . $request->input('node_id') . ':' . file_get_contents('php://input')); + // Log::info('serverSubmitData:' . $request->input('node_id') . ':' . file_get_contents('php://input')); $server = Server::find($request->input('node_id')); if (!$server) { return $this->error("server could not be found", 404); diff --git a/app/Http/Controllers/User/OrderController.php b/app/Http/Controllers/User/OrderController.php index c088318a..3bf45d8e 100755 --- a/app/Http/Controllers/User/OrderController.php +++ b/app/Http/Controllers/User/OrderController.php @@ -452,7 +452,7 @@ class OrderController extends Controller 'user_id' => $order->user_id, 'invoice_id' => $order->trade_no, 'identifier' => '' - ], + ], 'redirect' => [ 'return_url' => config('v2board.app_url', env('APP_URL')) . '/#/order' ] @@ -482,7 +482,7 @@ class OrderController extends Controller $strToSign = $bitpayX->prepareSignId($params['merchant_order_id']); $params['token'] = $bitpayX->sign($strToSign); $result = $bitpayX->mprequest($params); - Log::info('bitpayXSubmit: ' . json_encode($result)); + // Log::info('bitpayXSubmit: ' . json_encode($result)); return isset($result['payment_url']) ? $result['payment_url'] : false; }