|
|
@@ -2,6 +2,8 @@
|
|
|
|
|
|
namespace App\Module\ThirdParty\Services;
|
|
|
|
|
|
+use App\Module\ThirdParty\Dto\Config;
|
|
|
+use App\Module\ThirdParty\Dto\Credential;
|
|
|
use App\Module\ThirdParty\Models\ThirdPartyService as ServiceModel;
|
|
|
use App\Module\ThirdParty\Models\ThirdPartyLog;
|
|
|
use App\Module\ThirdParty\Enums\LOG_LEVEL;
|
|
|
@@ -111,6 +113,13 @@ abstract class WebhookReceiver
|
|
|
abstract protected function handler(string $action, Request $request): array;
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @return Config
|
|
|
+ */
|
|
|
+ abstract protected function getConfigDto():Config;
|
|
|
+
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 验证请求格式(由子类重写)
|