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