Commit aa3804ac authored by 陈家荣's avatar 陈家荣

222

parent 4445d745
......@@ -90,10 +90,9 @@ router.post('/limitActionRef/createOrUpdate', function(req, res, next) {
//根据mid获取论坛行为限制
router.get('/limitActionRef/:mid/get', function(req, res, next) {
var ent_code = req.session.user.ent_code;
var mid = req.params.mid;
if (mid) {
forumLimitActionRefService.getLimitActionRefByMIdAndEntCode(mid, ent_code, function(err, forumLimitActionRef) {
forumLimitActionRefService.getLimitActionRefByMid(mid, function(err, forumLimitActionRef) {
if (err) {
console.error(err);
res.json(returnCode.BUSY);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment