Feature/gasht rahdari
This commit is contained in:
24
src/app/api/fake-operator-list/route.js
Normal file
24
src/app/api/fake-operator-list/route.js
Normal file
@@ -0,0 +1,24 @@
|
||||
const data = [
|
||||
{
|
||||
id: 1,
|
||||
operator_name: "امین",
|
||||
phone_number: "09134849737",
|
||||
car_id: "33",
|
||||
start_date: "2024-11-02T11:48:22.000000Z",
|
||||
end_date: "2024-11-03T11:01:14.000000Z",
|
||||
register_date: "2024-11-03T11:01:14.000000Z",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
operator_name: "امیر",
|
||||
phone_number: "09134844955",
|
||||
car_id: "233",
|
||||
start_date: "2024-11-02T11:48:22.000000Z",
|
||||
end_date: "2024-11-03T11:01:14.000000Z",
|
||||
register_date: "2024-11-03T11:01:14.000000Z",
|
||||
},
|
||||
];
|
||||
|
||||
export async function GET() {
|
||||
return Response.json({ data });
|
||||
}
|
||||
28
src/app/api/fake-supervisor-list/route.js
Normal file
28
src/app/api/fake-supervisor-list/route.js
Normal file
@@ -0,0 +1,28 @@
|
||||
const data = [
|
||||
{
|
||||
id: 1,
|
||||
operator_name: "امین",
|
||||
phone_number: "09134849737",
|
||||
province: "تهران",
|
||||
office: "اداره کل",
|
||||
car_id: "33",
|
||||
start_date: "2024-11-02T11:48:22.000000Z",
|
||||
end_date: "2024-11-03T11:01:14.000000Z",
|
||||
register_date: "2024-11-03T11:01:14.000000Z",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
operator_name: "امیر",
|
||||
phone_number: "09134844955",
|
||||
province: "تهران",
|
||||
office: "اداره کل",
|
||||
car_id: "233",
|
||||
start_date: "2024-11-02T11:48:22.000000Z",
|
||||
end_date: "2024-11-03T11:01:14.000000Z",
|
||||
register_date: "2024-11-03T11:01:14.000000Z",
|
||||
},
|
||||
];
|
||||
|
||||
export async function GET() {
|
||||
return Response.json({ data });
|
||||
}
|
||||
Reference in New Issue
Block a user