bianjunhui 2 years ago
parent
commit
21a1ed200b
1 changed files with 12 additions and 4 deletions
  1. 12 4
      api/mod/sms.php

+ 12 - 4
api/mod/sms.php

@@ -61,14 +61,22 @@ class ONUService{
     //http://email.alipearl.net/
     public  function wigginsDr(){
         $data = $_REQUEST;
-        $this->results($data);
-        echo 'success';
+        if($data['status']){
+            $this->results($data);
+            echo 'success';
+        }else{
+            echo 'error';
+        }
     }
 
     public  function alipearlDr(){
         $data = $_REQUEST;
-        $this->results($data);
-        echo 'success';
+        if($data['status']){
+            $this->results($data);
+            echo 'success';
+        }else{
+            echo 'error';
+        }
     }
 
     public  function redis(){