forked from assimon/dujiaoka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeetest.php
91 lines (81 loc) · 2.42 KB
/
geetest.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php
return [
/*
|--------------------------------------------------------------------------
| Config Language
|--------------------------------------------------------------------------
|
| Here you can config your yunpian api key from yunpian provided.
|
| Options: ['zh-cn', 'zh-tw', 'en', 'ja', 'ko']
|
*/
'lang' => 'zh-cn',
/*
|--------------------------------------------------------------------------
| Config Geetest Id
|--------------------------------------------------------------------------
|
| Here you can config your yunpian api key from yunpian provided.
|
*/
'id' => env('GEETEST_ID'),
/*
|--------------------------------------------------------------------------
| Config Geetest Key
|--------------------------------------------------------------------------
|
| Here you can config your yunpian api key from yunpian provided.
|
*/
'key' => env('GEETEST_KEY'),
/*
|--------------------------------------------------------------------------
| Config Geetest URL
|--------------------------------------------------------------------------
|
| Here you can config your geetest url for ajax validation.
|
*/
'url' => '/geetest',
/*
|--------------------------------------------------------------------------
| Config Geetest Protocol
|--------------------------------------------------------------------------
|
| Here you can config your geetest url for ajax validation.
|
| Options: http or https
|
*/
'protocol' => 'http',
/*
|--------------------------------------------------------------------------
| Config Geetest Product
|--------------------------------------------------------------------------
|
| Here you can config your geetest url for ajax validation.
|
| Options: float, popup, custom, bind
|
*/
'product' => 'float',
/*
|--------------------------------------------------------------------------
| Config Client Fail Alert Text
|--------------------------------------------------------------------------
|
| Here you can config the alert text when it failed in client.
|
*/
'client_fail_alert' => '请正确完成验证码操作',
/*
|--------------------------------------------------------------------------
| Config Server Fail Alert
|--------------------------------------------------------------------------
|
| Here you can config the alert text when it failed in server (two factor validation).
|
*/
'server_fail_alert' => '验证码校验失败',
];