bianjunhui %!s(int64=2) %!d(string=hai) anos
pai
achega
21a1ed200b
Modificáronse 1 ficheiros con 12 adicións e 4 borrados
  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(){