You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aquaculture/config/pay.php

29 lines
1.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?php
return [
// 阿里支付
'ali' => [
'app_id' => env('ALIAPY_APP_ID'),
'ali_public_key' => '',
// 加密方式: **RSA2**
'private_key' => '',
'return_url' => config('app.url') . '/pay/return',
'notify_url' => config('app.url') . '/pay/notify',
'log' => [ // optional
'file' => storage_path('logs/alipay.log'),
'level' => 'debug', // 建议生产环境等级调整为 info开发环境为 debug
'type' => 'single', // optional, 可选 daily.
'max_file' => 30, // optional, 当 type 为 daily 时有效,默认 30 天
],
'http' => [ // optional
'timeout' => 5.0,
'connect_timeout' => 5.0,
// 更多配置项请参考 [Guzzle](https://guzzle-cn.readthedocs.io/zh_CN/latest/request-options.html)
],
'mode' => 'dev', // optional,设置此参数,将进入沙箱模式
],
];