Commit 3365ec11 authored by 张淼's avatar 张淼

1

parent ba72a182
'use strict';
exports.setUserSession=function(req,user){
req.session.forumUser=user;
};
exports.getUserSession=function(req){
return req.session.forumUser;
}
\ No newline at end of file
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