Update: 2026-06-25 03:58:15
This commit is contained in:
@@ -194,8 +194,8 @@ try {
|
|||||||
$driverData = $driver;
|
$driverData = $driver;
|
||||||
$driverID = (string)$driver['id'];
|
$driverID = (string)$driver['id'];
|
||||||
} else {
|
} else {
|
||||||
// توليد driverID مؤقت من رقم الهاتف (ثابت لنفس الرقم)
|
// driverID ثابت ومشتق من رقم الهاتف (نفس الرقم = نفس الـ ID)
|
||||||
$driverID = 'temp_' . substr(hash('sha256', $phone_number), 0, 16);
|
$driverID = substr(md5($phone_number), 0, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
jsonSuccess([
|
jsonSuccess([
|
||||||
|
|||||||
Reference in New Issue
Block a user