bianjunhui 2 年 前
コミット
21a1ed200b
1 ファイル変更12 行追加4 行削除
  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(){