geetest.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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 Geetest Id
  17. |--------------------------------------------------------------------------
  18. |
  19. | Here you can config your yunpian api key from yunpian provided.
  20. |
  21. */
  22. 'id' => env('GEETEST_ID'),
  23. /*
  24. |--------------------------------------------------------------------------
  25. | Config Geetest Key
  26. |--------------------------------------------------------------------------
  27. |
  28. | Here you can config your yunpian api key from yunpian provided.
  29. |
  30. */
  31. 'key' => env('GEETEST_KEY'),
  32. /*
  33. |--------------------------------------------------------------------------
  34. | Config Geetest URL
  35. |--------------------------------------------------------------------------
  36. |
  37. | Here you can config your geetest url for ajax validation.
  38. |
  39. */
  40. 'url' => '/geetest',
  41. /*
  42. |--------------------------------------------------------------------------
  43. | Config Geetest Protocol
  44. |--------------------------------------------------------------------------
  45. |
  46. | Here you can config your geetest url for ajax validation.
  47. |
  48. | Options: http or https
  49. |
  50. */
  51. 'protocol' => 'http',
  52. /*
  53. |--------------------------------------------------------------------------
  54. | Config Geetest Product
  55. |--------------------------------------------------------------------------
  56. |
  57. | Here you can config your geetest url for ajax validation.
  58. |
  59. | Options: float, popup, custom, bind
  60. |
  61. */
  62. 'product' => 'float',
  63. /*
  64. |--------------------------------------------------------------------------
  65. | Config Client Fail Alert Text
  66. |--------------------------------------------------------------------------
  67. |
  68. | Here you can config the alert text when it failed in client.
  69. |
  70. */
  71. 'client_fail_alert' => '请正确完成验证码操作',
  72. /*
  73. |--------------------------------------------------------------------------
  74. | Config Server Fail Alert
  75. |--------------------------------------------------------------------------
  76. |
  77. | Here you can config the alert text when it failed in server (two factor validation).
  78. |
  79. */
  80. 'server_fail_alert' => '验证码校验失败',
  81. ];