31 lines
517 B
JavaScript
31 lines
517 B
JavaScript
|
|
const DB = require("./mongoDB.js");
|
|
const Post = require("./def/post.js");
|
|
|
|
let PromotionalPosts = {};
|
|
|
|
DB.getDB.then((DB)=>{
|
|
PromotionalPosts.PopularGroups = async () => {
|
|
let groups = DB.getGroups(false);
|
|
|
|
}
|
|
|
|
PromotionalPosts.PopularCourses = async () => {
|
|
|
|
}
|
|
|
|
PromotionalPosts.ImportantNews = async () => {
|
|
|
|
}
|
|
|
|
PromotionalPosts.IntroPost = async () => {
|
|
|
|
}
|
|
|
|
PromotionalPosts.continueWatchingCourse = async () => {
|
|
|
|
}
|
|
|
|
});
|
|
|
|
module.exports = PromotionalPosts; |