diff --git a/src/controllers/appController/academic/syllabus/46/depts/allSyllabus46.js b/src/controllers/appController/academic/syllabus/46/depts/allSyllabus46.js new file mode 100644 index 00000000..b23f9032 --- /dev/null +++ b/src/controllers/appController/academic/syllabus/46/depts/allSyllabus46.js @@ -0,0 +1,6 @@ +let syllabus46 = { + topic: "Download", + url: "https://drive.google.com/file/d/1MncnGSZjCFeDW4rj4atEUGQ45YCoj6Xk/view" +} + +module.exports = syllabus46; \ No newline at end of file diff --git a/src/controllers/appController/academic/syllabus/46/syllabusBatch46.js b/src/controllers/appController/academic/syllabus/46/syllabusBatch46.js new file mode 100644 index 00000000..67167b38 --- /dev/null +++ b/src/controllers/appController/academic/syllabus/46/syllabusBatch46.js @@ -0,0 +1,10 @@ +let syllabus46 = [ + { + dept: "All", + route: "app/syllabus/46/all" + }, +] + + + +module.exports = syllabus46; \ No newline at end of file diff --git a/src/controllers/appController/appController.js b/src/controllers/appController/appController.js index 98d5fa45..5c3ad79c 100644 --- a/src/controllers/appController/appController.js +++ b/src/controllers/appController/appController.js @@ -1076,6 +1076,8 @@ let ttqcLabs = require('./academic/labReport/level2/subs/ttqc/ttqcLabs') //syllabus let syllabusBatch45 = require('./academic/syllabus/45/syllabusBatch45') +let syllabusBatch46 = require('./academic/syllabus/46/syllabusBatch46') +let syllabusBatch46All = require('./academic/syllabus/46/depts/allSyllabus46') let syllabusBatch45Ae = require('./academic/syllabus/45/depts/ae45Syl') let syllabusBatch45Fe = require('./academic/syllabus/45/depts/fe45Syl') let syllabusBatch45Ye = require('./academic/syllabus/45/depts/ye45Syl') @@ -5502,7 +5504,7 @@ let syllabusLevelFlow = (req, res) => { }, { batch: "46", - url: "https://drive.google.com/file/d/1di3DU0HRJZE-Kjihfr6UGS4y7qNWH7mF/view?usp=sharing" + route: "app/syllabus/45" } ]); }; @@ -5512,6 +5514,16 @@ let syllabusBatch45Flow = (req, res) => { return res.send(syllabusBatch45); }; +let syllabusBatch46Flow = (req, res) => { + console.log(`🟠 App Platform : ${req.originalUrl} || IP: ${req.ip}`) + return res.send(syllabusBatch46); +}; + +let syllabusBatch46AllFlow = (req, res) => { + console.log(`🟠 App Platform : ${req.originalUrl} || IP: ${req.ip}`) + return res.send(syllabusBatch46All); +}; + let syllabusBatch45AeFlow = (req, res) => { console.log(`🟠 App Platform : ${req.originalUrl} || IP: ${req.ip}`) return res.send(syllabusBatch45Ae); @@ -6518,6 +6530,8 @@ module.exports = { syllabusLevelFlow: syllabusLevelFlow, syllabusBatch45Flow: syllabusBatch45Flow, + syllabusBatch46Flow: syllabusBatch46Flow, + syllabusBatch46AllFlow: syllabusBatch46AllFlow, syllabusBatch45AeFlow: syllabusBatch45AeFlow, syllabusBatch45FeFlow: syllabusBatch45FeFlow, syllabusBatch45YeFlow: syllabusBatch45YeFlow, diff --git a/src/routes/web.js b/src/routes/web.js index 6c8e0206..531f136b 100644 --- a/src/routes/web.js +++ b/src/routes/web.js @@ -1057,6 +1057,8 @@ let initWebRoutes = (app) => { //syllabus router.get("/app/syllabus", appController.syllabusLevelFlow); router.get("/app/syllabus/45", appController.syllabusBatch45Flow); + router.get("/app/syllabus/46", appController.syllabusBatch46Flow); + router.get("/app/syllabus/46/all", appController.syllabusBatch46AllFlow); router.get("/app/syllabus/45/ae", appController.syllabusBatch45AeFlow); router.get("/app/syllabus/45/ye", appController.syllabusBatch45YeFlow); router.get("/app/syllabus/45/fe", appController.syllabusBatch45FeFlow);