刘桂岩 hace 5 años
padre
commit
9c2421d1a0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      application/inter/controller/Writereport.php

+ 1 - 1
application/inter/controller/Writereport.php

@@ -565,7 +565,7 @@ class Writereport extends Base
 
     public function sendSms($phone,$reportId,$examId,$studyId)
     {
-        $code = $this->getRandomString(4);
+        $code = rand(0,9).rand(0,9).rand(0,9).rand(0,9);
         $id = UUIDs::uuid16();
         if(empty($phone)){
             $send_message = 0;