Commit 65eddaa0 authored by 刘文胜's avatar 刘文胜

1111

parent 5dcbefae
......@@ -38,9 +38,9 @@ router.get('/aboutme/other2me', function(req, res, next) {
});
});
router.get('/aboutme/he2other/:id', function(req, res, next) {
router.get('/aboutme/he2other/:id/:entcode', function(req, res, next) {
var userId = req.params.id;
var entcode = req.session.user.ent_code;
var entcode = req.params.entcode;
var pageNo=req.query.pageNo || 1;
var pageSize=req.query.pageSize || 10;
forumAboutMEService.me2other(entcode,userId,pageNo,pageSize,function(err,result){
......@@ -52,9 +52,9 @@ router.get('/aboutme/he2other/:id', function(req, res, next) {
});
});
router.get('/aboutme/other2he/:id', function(req, res, next) {
router.get('/aboutme/other2he/:id/:entcode', function(req, res, next) {
var userId = req.params.id;
var entcode = req.session.user.ent_code;
var entcode = req.params.entcode;
var pageNo=req.query.pageNo || 1;
var pageSize=req.query.pageSize || 10;
forumAboutMEService.other2me(entcode,userId,pageNo,pageSize,function(err,result){
......
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