bianjunhui 2 years ago
parent
commit
18e5e6efdf
1 changed files with 8 additions and 2 deletions
  1. 8 2
      api/mod/sms.php

+ 8 - 2
api/mod/sms.php

@@ -13,8 +13,14 @@ class ONUService{
     //  wiggins AP 新系统  http://email.alipearl.net/
     public  function westkissDr(){
         $data = $_REQUEST;
-        $this->results($data);
-        echo 'success';
+        if($data['status']){
+            $this->results($data);
+            echo 'success';
+        }else{
+            echo 'error';
+        }
+
+
     }
     public  function results($data){
         $messageid  =$data['messageid'];