Commit ed71dc9d authored by 刘文胜's avatar 刘文胜

111

parent 0092244b
......@@ -22,9 +22,9 @@ router.get('/commentTips', function(req, res, next) {
});
});
router.put('/commentTips/:id/:entcode', function(req, res, next) {
router.put('/commentTips/:id', function(req, res, next) {
var userId = req.params.id;
var entcode = req.params.entcode;
var entcode = req.session.user.ent_code;
commentTips.incrTips(entcode,userId,function(err,result){
if(err){
res.json(returnCode.UNCHECK_ERROR(err));
......
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