geetest.php 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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' => 'b46d1900d0a894591916ea94ea91bd2c',
  23. /*
  24. |--------------------------------------------------------------------------
  25. | Config Geetest Key
  26. |--------------------------------------------------------------------------
  27. |
  28. | Here you can config your yunpian api key from yunpian provided.
  29. |
  30. */
  31. 'key' => '36fc3fe98530eea08dfc6ce76e3d24c4',
  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. ];