#add jira & message sync

This commit is contained in:
2025-12-02 10:16:32 +08:00
parent 5c4492d8f8
commit 2ec44b5665
49 changed files with 6633 additions and 1209 deletions

View File

@@ -11,7 +11,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function register(): void
{
//
// 注册 JIRA 服务
$this->app->singleton(\App\Services\JiraService::class);
}
/**

View File

@@ -0,0 +1,33 @@
<?php
namespace App\Providers;
use App\Clients\AgentClient;
use App\Clients\MonoClient;
use Illuminate\Support\ServiceProvider;
class ClientServiceProvider extends ServiceProvider
{
/**
* Register services.
*/
public function register(): void
{
$this->app->singleton(AgentClient::class, function () {
return new AgentClient();
});
$this->app->singleton(MonoClient::class, function () {
return new MonoClient();
});
}
/**
* Bootstrap services.
*/
public function boot(): void
{
//
}
}