Files
ECShopX/config/alipay.php
2025-12-29 22:14:41 +08:00

20 lines
751 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
return [
// 支付宝异步通知地址
'notify_url' => env('ALIPAY_PAYMENT_NOTIFY', env('APP_URL').'/api/alipay/notify'),
'return_url_pc' => env('ALIPAY_PAYMENT_RETURN_PC'),
'return_url_h5' => env('ALIPAY_PAYMENT_RETURN_H5'),
'return_url_app' => env('ALIPAY_PAYMENT_RETURN_APP'),
'return_url_pos' => env('ALIPAY_PAYMENT_RETURN_POS'),
// optional默认 warning日志路径为sys_get_temp_dir().'/logs/yansongda.pay.log'
'log' => [
'file' => storage_path('logs/alipay.log'),
'level' => 'debug',
'type' => 'single', // optional, 可选 daily.
'max_file' => 30,
],
// optional设置此参数将进入沙箱模式
'mode' => env('ALIPAY_MODE', 'normal'),
];