| xqd
@@ -11,6 +11,7 @@ use App\Services\PayService;
|
|
|
use Illuminate\Support\Facades\DB;
|
|
|
use Illuminate\Support\Facades\Log;
|
|
|
use PHPUnit\Util\Exception;
|
|
|
+use Symfony\Component\HttpFoundation\Request;
|
|
|
use Yansongda\Pay\Pay;
|
|
|
|
|
|
class PayNotifyController extends Controller
|
| xqd
@@ -19,6 +20,8 @@ class PayNotifyController extends Controller
|
|
|
* 微信支付回调
|
|
|
*/
|
|
|
public function wx_notify(){
|
|
|
+ Log::info(Request::createFromGlobals()->getContent());
|
|
|
+
|
|
|
$wxpay = Pay::wechat(PayService::wx_config());
|
|
|
DB::beginTransaction();
|
|
|
try{
|