登录注册

This commit is contained in:
liu
2026-07-15 12:07:32 +08:00
parent 9eed7c87f6
commit 93c65b56f6
9 changed files with 1231 additions and 51 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| 微信小程序配置
|--------------------------------------------------------------------------
*/
'mini_program' => [
'app_id' => env('WECHAT_MINI_PROGRAM_APP_ID', ''),
'secret' => env('WECHAT_MINI_PROGRAM_SECRET', ''),
'token' => env('WECHAT_MINI_PROGRAM_TOKEN', ''),
'aes_key' => env('WECHAT_MINI_PROGRAM_AES_KEY', ''),
/**
* HTTP 客户端配置
* 参考:https://symfony.com/doc/current/http_client.html
*/
'http' => [
'throw' => false, // 是否直接抛出异常
'timeout' => 10.0,
'retry' => true, // 失败重试
'max_retries' => 2,
],
],
];