serviceSms.php 725 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: vowkin
  5. * Date: 2017/5/22
  6. * Time: 21:49
  7. */
  8. namespace app\common\service;
  9. class serviceSms extends BaseService
  10. {
  11. //'mobile'=>'mobile',
  12. //'temp_id'=>'number'
  13. public function sendCode($param=[]){
  14. $res = $this->Request_call('index/Sms/sendCode',$param);
  15. return $res;
  16. }
  17. //'code'=>'number',
  18. //'msg_id'=>'string'
  19. public function checkCode($param=[]){
  20. $res = $this->Request_call('index/Sms/checkCode',$param);
  21. return $res;
  22. }
  23. //'mobile'=>'mobile',
  24. //'temp_id'=>'number',
  25. //'temp_params'=>'array'
  26. public function sendMessage($param=[]){
  27. $res = $this->Request_call('index/Sms/sendMessage',$param);
  28. return $res;
  29. }
  30. }