HEX
Server: Apache
System: Linux srv4.garantili.com.tr 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: yenicep (1023)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home2/yenicep/garantili-kasko/mobile/routes/get-police-info.js
const path = require('path');
const express = require('express');

const router = express.Router();

const kaskoluCihazlarController = require('../controller/get-police-info');
const uploadBillController = require('../controller/upload-bill');

router.get('/all', kaskoluCihazlarController.getAll);
router.post('/get-by-id', kaskoluCihazlarController.getById);
router.post('/get-by-policy', kaskoluCihazlarController.getByPoliceNo);
router.post('/get-by-city', kaskoluCihazlarController.getByCity);
router.get('/get-city-codes', kaskoluCihazlarController.getCityCodes);
router.post('/get-by-price', kaskoluCihazlarController.getByPrice);
router.get('/get-brands', kaskoluCihazlarController.getBrands);
router.post('/get-brands', kaskoluCihazlarController.getBrandsById);
router.post('/get-model', kaskoluCihazlarController.getModelById);
router.get('/get-storage', kaskoluCihazlarController.getStorage);
router.post('/get-by-date', kaskoluCihazlarController.getByDate);
router.post('/get-between-date', kaskoluCihazlarController.getBetweenDate);
router.post('/get-between-activate-date', kaskoluCihazlarController.getBetweenActivateDate);
router.post('/get-between-birth-date', kaskoluCihazlarController.getBetweenBirthDate);
router.post('/get-by-takip-no', kaskoluCihazlarController.getByTakipNo);
router.post('/get-by-gender', kaskoluCihazlarController.getByGender);
router.post('/get-by-customer-type', kaskoluCihazlarController.getByCustomerType);
router.post('/get-by-nationality', kaskoluCihazlarController.getByNationality);

//* UPLOAD BILL
router.post('/upload-bill', uploadBillController.upload);
router.post("/get-bill", uploadBillController.getListFiles);


module.exports = router;