|
|
@@ -18,11 +18,12 @@ class Pay extends BaseController{
|
|
|
* @return boolean
|
|
|
*/
|
|
|
public function wxpayNotify(Request $request){
|
|
|
+ $logfile = app()->getRootPath().'public/log/wxnotify.log';
|
|
|
+ file_put_contents($logfile, date("Y-m-d H:i:s").PHP_EOL,FILE_APPEND | LOCK_EX);
|
|
|
$xmlData = $request->getInput();
|
|
|
if(empty($xmlData)){
|
|
|
return false;
|
|
|
}
|
|
|
- $logfile = app()->getRootPath().'public/log/wxnotify.log';
|
|
|
file_put_contents($logfile, $xmlData.PHP_EOL,FILE_APPEND | LOCK_EX);
|
|
|
|
|
|
|