config.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?php
  2. return [
  3. [
  4. 'name' => 'key',
  5. 'title' => '应用key',
  6. 'type' => 'string',
  7. 'content' => [],
  8. 'value' => 'your key',
  9. 'rule' => 'required',
  10. 'msg' => '',
  11. 'tip' => '',
  12. 'ok' => '',
  13. 'extend' => '',
  14. ],
  15. [
  16. 'name' => 'secret',
  17. 'title' => '密钥secret',
  18. 'type' => 'string',
  19. 'content' => [],
  20. 'value' => 'your secret',
  21. 'rule' => 'required',
  22. 'msg' => '',
  23. 'tip' => '',
  24. 'ok' => '',
  25. 'extend' => '',
  26. ],
  27. [
  28. 'name' => 'sign',
  29. 'title' => '签名',
  30. 'type' => 'string',
  31. 'content' => [],
  32. 'value' => 'your sign',
  33. 'rule' => 'required',
  34. 'msg' => '',
  35. 'tip' => '',
  36. 'ok' => '',
  37. 'extend' => '',
  38. ],
  39. [
  40. 'name' => 'template',
  41. 'title' => '短信模板',
  42. 'type' => 'array',
  43. 'content' => [],
  44. 'value' => [
  45. 'register' => 'SMS_114000000',
  46. 'resetpwd' => 'SMS_114000000',
  47. 'changepwd' => 'SMS_114000000',
  48. 'changemobile' => 'SMS_114000000',
  49. 'profile' => 'SMS_114000000',
  50. 'notice' => 'SMS_114000000',
  51. 'mobilelogin' => 'SMS_114000000',
  52. 'bind' => 'SMS_114000000',
  53. ],
  54. 'rule' => 'required',
  55. 'msg' => '',
  56. 'tip' => '',
  57. 'ok' => '',
  58. 'extend' => '',
  59. ],
  60. [
  61. 'name' => '__tips__',
  62. 'title' => '温馨提示',
  63. 'type' => 'string',
  64. 'content' => [],
  65. 'value' => '应用key和密钥你可以通过 https://ram.console.aliyun.com/manage/ak 获取',
  66. 'rule' => 'required',
  67. 'msg' => '',
  68. 'tip' => '',
  69. 'ok' => '',
  70. 'extend' => '',
  71. ],
  72. ];