File tree Expand file tree Collapse file tree 3 files changed +4
-28
lines changed Expand file tree Collapse file tree 3 files changed +4
-28
lines changed Original file line number Diff line number Diff line change 102102 */
103103 'channels ' => [
104104 /**
105- * 飞书群机器人 .
105+ * Lark .
106106 */
107107 'lark ' => [
108108 'driver ' => 'notify ' ,
114114 'client ' => [
115115 'class ' => \Guanguans \Notify \Lark \Client::class,
116116 'http_options ' => [],
117- 'tapper ' => \Guanguans \LaravelExceptionNotify \WithLogMiddlewareClientTapper ::class,
117+ // 'tapper' => \Guanguans\LaravelExceptionNotify\DefaultClientTapper ::class,
118118 ],
119119 'message ' => [
120120 'class ' => \Guanguans \Notify \Lark \Messages \TextMessage::class,
150150 'channel ' => 'daily ' ,
151151 'pipes ' => [],
152152 ],
153-
154- /**
155- * 企业微信群机器人.
156- */
157- 'weWork ' => [
158- 'driver ' => 'notify ' ,
159- 'authenticator ' => [
160- 'class ' => \Guanguans \Notify \WeWork \Authenticator::class,
161- 'token ' => '... ' ,
162- ],
163- 'client ' => [
164- 'class ' => \Guanguans \Notify \WeWork \Client::class,
165- 'http_options ' => [],
166- 'tapper ' => \Guanguans \LaravelExceptionNotify \WithLogMiddlewareClientTapper::class,
167- ],
168- 'message ' => [
169- 'class ' => \Guanguans \Notify \WeWork \Messages \TextMessage::class,
170- 'content ' => '{report} ' ,
171- ],
172- 'pipes ' => [
173- FixPrettyJsonPipe::class,
174- hydrate_pipe (LimitLengthPipe::class, 5120 ),
175- ],
176- ],
177153 ],
178154];
Original file line number Diff line number Diff line change 1818use GuzzleHttp \Middleware ;
1919use Illuminate \Support \Facades \Log ;
2020
21- class WithLogMiddlewareClientTapper
21+ class DefaultClientTapper
2222{
2323 private string $ channel ;
2424 private string $ template ;
Original file line number Diff line number Diff line change 1717 expect ($ this ->app ->make (ExceptionNotifyManager::class)->driver ('mail ' ))
1818 ->report ('report ' )
1919 ->toBeNull ();
20- })->group (__DIR__ , __FILE__ )->throws (Swift_TransportException::class);
20+ })->group (__DIR__ , __FILE__ )->throws (Swift_TransportException::class)-> skip () ;
You can’t perform that action at this time.
0 commit comments