微信分享URL修改

This commit is contained in:
yuanke 2016-08-04 10:48:13 +08:00
parent aaa1c01eed
commit 4bae4527a2
1 changed files with 2 additions and 3 deletions

View File

@ -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);