mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-30 02:59:17 +01:00
83 lines
1.1 KiB
JavaScript
83 lines
1.1 KiB
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Module dependencies
|
|
*/
|
|
var path = require('path'),
|
|
config = require(path.resolve('./config/config')),
|
|
mongoose = require('mongoose'),
|
|
errorHandler = require(path.resolve('./modules/core/server/controllers/errors.server.controller'));
|
|
|
|
/**
|
|
* create a comment of torrent
|
|
* @param req
|
|
* @param res
|
|
*/
|
|
exports.create = function (req, res) {
|
|
|
|
};
|
|
|
|
/**
|
|
* update a comment of torrent
|
|
* @param req
|
|
* @param res
|
|
*/
|
|
exports.update = function (req, res) {
|
|
|
|
};
|
|
|
|
/**
|
|
* delete a comment of torrent
|
|
* @param req
|
|
* @param res
|
|
*/
|
|
exports.delete = function (req, res) {
|
|
|
|
};
|
|
|
|
/**
|
|
* list all comment of torrent
|
|
* @param req
|
|
* @param res
|
|
*/
|
|
exports.list = function (req, res) {
|
|
|
|
};
|
|
|
|
/**
|
|
* create a sub comment of comment
|
|
* @param req
|
|
* @param res
|
|
*/
|
|
exports.SubCreate = function (req, res) {
|
|
|
|
};
|
|
|
|
/**
|
|
* update a sub comment of comment
|
|
* @param req
|
|
* @param res
|
|
*/
|
|
exports.SubUpdate = function (req, res) {
|
|
|
|
};
|
|
|
|
/**
|
|
* delete a sub comment of comment
|
|
* @param req
|
|
* @param res
|
|
*/
|
|
exports.SubDelete = function (req, res) {
|
|
|
|
};
|
|
|
|
/**
|
|
* list all sub comment of comment
|
|
* @param req
|
|
* @param res
|
|
*/
|
|
exports.SubList = function (req, res) {
|
|
|
|
};
|
|
|