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

fix社区的头像和昵称不统一

parent e0b6068c
...@@ -58,7 +58,7 @@ router.post('/thread/create', function(req, res, next) { ...@@ -58,7 +58,7 @@ router.post('/thread/create', function(req, res, next) {
var rs = {}, var rs = {},
ent_code = req.session.user.ent_code, ent_code = req.session.user.ent_code,
icon = req.session.user.headPic, icon = req.session.user.headPic,
nickName = req.session.user.name; nickName = req.session.user.nickName;
if (icon && icon.indexOf('http://') == -1) { if (icon && icon.indexOf('http://') == -1) {
if (process.env.NODE_ENV === 'production') { if (process.env.NODE_ENV === 'production') {
icon = 'http://fs.wxpai.cn/' + icon; icon = 'http://fs.wxpai.cn/' + icon;
......
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