diff --git a/public/javascripts/wechat/others/factory.js b/public/javascripts/wechat/others/factory.js index 8d55717c6..9fa8d09aa 100644 --- a/public/javascripts/wechat/others/factory.js +++ b/public/javascripts/wechat/others/factory.js @@ -213,15 +213,14 @@ app.factory('common', ['$http', 'auth', '$routeParams','rms','config','wx', func if(response.data.data.user){ tmpname = response.data.data.user.realname; - imgUrl = response.data.data.user.img_url; + imgUrl = window.g_localhost+response.data.data.user.img_url; } if(response.data.data.author){ tmpname = response.data.data.author.realname; - imgUrl = response.data.data.author.img_url; + imgUrl = window.g_localhost+response.data.data.author.img_url; } - imgUrl = window.g_localhost+imgUrl; var desc = tmpname+":"+tmptile; console.log("desc = "+desc); console.log("imgUrl= "+imgUrl);