微信分享URL修改
This commit is contained in:
parent
aaa1c01eed
commit
4bae4527a2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue