| | |
| | | if(empty($sign)) { |
| | | $sign = '短信宝'; |
| | | } |
| | | // 2018-12-18 短信包更换 chenlei start |
| | | $sign = '九鼎'; |
| | | //判断剩余条数 |
| | | if($balance<1){ |
| | | return error(-1, '短信发送失败, 原因:余额不足'); |
| | | } |
| | | // if($balance<1){ |
| | | // return error(-1, '短信发送失败, 原因:余额不足'); |
| | | // } |
| | | //短信宝账号 |
| | | // $smsbao_info=pdo_get('uni_settings' , array('uniacid' => $_W['uniacid']), array('copyright')); |
| | | //$smsbao_info=setting_load($key = 'copyright'); |
| | | $sms_param['u']=$_W['setting']['copyright']['sms_name']; |
| | | $sms_param['p']=md5($_W['setting']['copyright']['sms_password']); |
| | | $sms_param['u']= 'jiudingsms';//$_W['setting']['copyright']['sms_name']; |
| | | $sms_param['p']= md5('iemsoft.cn');//md5($_W['setting']['copyright']['sms_password']); |
| | | // 2018-12-18 短信包更换 chenlei end |
| | | $sms_param['m']=$mobile; |
| | | $sms_param['c']='【'.$sign.'】'.$content; |
| | | $statusStr = array( |