刘桂岩 5 rokov pred
rodič
commit
9c2421d1a0

+ 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;