geetest.php 3.0 KB

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