sms.php 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 胜家云 [ SingKa Cloud ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2020 https://www.singka.net All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | 宁波晟嘉网络科技有限公司
  8. // +----------------------------------------------------------------------
  9. // | Author: ShyComet <shycomet@qq.com>
  10. // +----------------------------------------------------------------------
  11. return [
  12. 'driver' => 'aliyun', // 驱动器
  13. 'aliyun' => [
  14. 'version' => '2017-05-25',
  15. 'host' => 'dysmsapi.aliyuncs.com',
  16. 'scheme' => 'http',
  17. 'region_id' => 'cn-hangzhou',
  18. 'access_key' => '',
  19. 'access_secret' => '',
  20. 'sign_name' => '',
  21. 'actions' => [
  22. 'register' => [
  23. 'actions_name' => '注册验证',
  24. 'template_id' => 'SMS_53115055',
  25. ],
  26. 'login' => [
  27. 'actions_name' => '登录验证',
  28. 'template_id' => 'SMS_53115057',
  29. ],
  30. 'changePassword' => [
  31. 'actions_name' => '修改密码',
  32. 'template_id' => 'SMS_53115053',
  33. ],
  34. 'changeUserinfo' => [
  35. 'actions_name' => '变更信息',
  36. 'template_id' => 'SMS_53115052',
  37. ],
  38. ],
  39. ],
  40. 'ucloud' => [
  41. 'public_key' => '',
  42. 'private_key' => '',
  43. 'project_id' => '',
  44. 'base_url' => 'https://api.ucloud.cn',
  45. 'sign_name' => '',
  46. 'actions' => [
  47. 'register' => [
  48. 'actions_name' => '注册验证',
  49. 'template_id' => 'UTA1910164E29F4',
  50. ],
  51. 'login' => [
  52. 'actions_name' => '登录验证',
  53. 'template_id' => 'UTA1910164E29F4',
  54. ],
  55. 'changePassword' => [
  56. 'actions_name' => '修改密码',
  57. 'template_id' => 'UTA1910164E29F4',
  58. ],
  59. 'changeUserinfo' => [
  60. 'actions_name' => '变更信息',
  61. 'template_id' => 'UTA1910164E29F4',
  62. ],
  63. ],
  64. ],
  65. 'qcloud' => [
  66. 'appid' => '',
  67. 'appkey' => '',
  68. 'sign_name' => '',
  69. 'actions' => [
  70. 'register' => [
  71. 'actions_name' => '注册验证',
  72. 'template_id' => '566198',
  73. ],
  74. 'login' => [
  75. 'actions_name' => '登录验证',
  76. 'template_id' => '566197',
  77. ],
  78. 'changePassword' => [
  79. 'actions_name' => '修改密码',
  80. 'template_id' => '566199',
  81. ],
  82. 'changeUserinfo' => [
  83. 'actions_name' => '变更信息',
  84. 'template_id' => '566200',
  85. ],
  86. ],
  87. ],
  88. 'qiniu' => [
  89. 'AccessKey' => '',
  90. 'SecretKey' => '',
  91. 'actions' => [
  92. 'register' => [
  93. 'actions_name' => '注册验证',
  94. 'template_id' => '1246849772845797376',
  95. ],
  96. 'login' => [
  97. 'actions_name' => '登录验证',
  98. 'template_id' => '1246849654881001472',
  99. ],
  100. 'changePassword' => [
  101. 'actions_name' => '修改密码',
  102. 'template_id' => '1246849964902977536',
  103. ],
  104. 'changeUserinfo' => [
  105. 'actions_name' => '变更信息',
  106. 'template_id' => '1246849860733243392',
  107. ],
  108. ],
  109. ],
  110. 'upyun' => [
  111. 'id' => '',
  112. 'token' => '',
  113. 'apiurl' => '',
  114. 'actions' => [
  115. 'register' => [
  116. 'actions_name' => '注册验证',
  117. 'template_id' => '2591',
  118. ],
  119. 'login' => [
  120. 'actions_name' => '登录验证',
  121. 'template_id' => '2592',
  122. ],
  123. 'changePassword' => [
  124. 'actions_name' => '修改密码',
  125. 'template_id' => '2590',
  126. ],
  127. 'changeUserinfo' => [
  128. 'actions_name' => '变更信息',
  129. 'template_id' => '2589',
  130. ],
  131. ],
  132. ],
  133. 'huawei' => [
  134. 'url' => '',
  135. 'appKey' => '',
  136. 'appSecret' => '',
  137. 'sender' => '',
  138. 'signature' => '',
  139. 'statusCallback' => '',
  140. 'actions' => [
  141. 'register' => [
  142. 'actions_name' => '注册验证',
  143. 'template_id' => '2591',
  144. ],
  145. 'login' => [
  146. 'actions_name' => '登录验证',
  147. 'template_id' => '2592',
  148. ],
  149. 'changePassword' => [
  150. 'actions_name' => '修改密码',
  151. 'template_id' => '2590',
  152. ],
  153. 'changeUserinfo' => [
  154. 'actions_name' => '变更信息',
  155. 'template_id' => '2589',
  156. ],
  157. ],
  158. ]
  159. ];