Issues (6)

config/ding.php (1 issue)

Labels
Severity
1
<?php
2
3
return [
4
5
    // 默认发送的机器人
6
7
    'default' => [
8
        // 是否要开启机器人,关闭则不再发送消息
9
        'enabled' => env('DING_ENABLED',true),
0 ignored issues
show
The function env was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

9
        'enabled' => /** @scrutinizer ignore-call */ env('DING_ENABLED',true),
Loading history...
10
        // 机器人的access_token
11
        'token' => env('DING_TOKEN',''),
12
        // 钉钉请求的超时时间
13
        'timeout' => env('DING_TIME_OUT',2.0),
14
        // 是否开启ss认证
15
        'ssl_verify' => env('DING_SSL_VERIFY',true),
16
        // 开启安全配置
17
        'secret' => env('DING_SECRET',true),
18
    ],
19
20
    'other' => [
21
        'enabled' => env('OTHER_DING_ENABLED',true),
22
23
        'token' => env('OTHER_DING_TOKEN',''),
24
25
        'timeout' => env('OTHER_DING_TIME_OUT',2.0),
26
27
        'ssl_verify' => env('DING_SSL_VERIFY',true),
28
29
        'secret' => env('DING_SECRET',true),
30
    ]
31
];
32