刘桂岩 5 سال پیش
والد
کامیت
9c2421d1a0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;