bianjunhui 2 anos atrás
pai
commit
c4aac1e906

+ 11 - 3
application/module/ctrl/Send_sms_adminAction.class.php

@@ -158,7 +158,7 @@ class Send_sms_adminAction extends Action
                     }
                     if($uid==5){//--牛信云 asteriahair
                         $x_smtpapi[] = $countryMobile.$list['tel'];
-                        $from=18332359525;
+                        $from=18882210167;
                         $appkey='ss9jHs2r';
                         $secretkey='XW7iy4uC';
                     }
@@ -197,7 +197,15 @@ class Send_sms_adminAction extends Action
                 );
                 if($uid==7||$uid==1||$uid==6||$uid==3||$uid==4||$uid==5){//--牛信云
                     $send_type=2;
-                    if($uid==5){
+                    $params = array(
+                        'appkey' => $appkey,
+                        'secretkey'  =>$secretkey,
+                        'phone' => $x_smtpapi,
+                        'content'     => $content,
+                        'source_address' => $from,
+                        'uid' => $uid
+                    );
+                    /*if($uid==5){
                         $params = array(
                             'appkey' => $appkey,
                             'secretkey'  =>$secretkey,
@@ -215,7 +223,7 @@ class Send_sms_adminAction extends Action
                             'source_address' => $from,
                             'uid' => $uid
                         );
-                    }
+                    }*/
                 }
                 $params_arr[] = $params;
             }