first version

This commit is contained in:
liu
2026-07-23 20:41:25 +08:00
parent 00a0938a1b
commit 10cff754a4
211 changed files with 11577 additions and 842 deletions
+4
View File
@@ -2,6 +2,7 @@
namespace App\Providers;
use App\Services\WechatService;
use Barryvdh\DomPDF\Facade\Pdf;
use Illuminate\Foundation\Exceptions\Handler as ExceptionsHandler;
use Illuminate\Support\ServiceProvider;
@@ -17,6 +18,9 @@ class AppServiceProvider extends ServiceProvider
{
$this->app->bind(ExceptionsHandler::class, \App\Exceptions\ExceptionsHandler::class);
// 单例:测试通过 setHttpClient() 注入 Mock 后,控制器解析到同一实例
$this->app->singleton(WechatService::class);
}
/**