added pengguna,kurir page, with socket.io,need to switch this to node.js first

This commit is contained in:
kicap1992
2025-05-16 11:43:38 +08:00
parent 5329fb8265
commit 0ba4e846dc
1095 changed files with 12336 additions and 35 deletions

View File

@ -105,10 +105,11 @@ router.post('/kurir', async (req: Request, res: Response) => {
// Save to MongoDB
const newKurir = new KurirModel({
dd_motor,
nama,
no_telpon,
password : no_telpon,
nama,
jenis_kelamin,
dd_motor,
gambar_kurir: `${no_telpon}_kurir_${random_5_char}.jpg`,
gambar_motor: `${no_telpon}_motor_${random_5_char}.jpg`,
});