Commit 4cc6e06a authored by wildfirecode's avatar wildfirecode

1

parent 608fdab7
...@@ -4,8 +4,8 @@ export default () => { ...@@ -4,8 +4,8 @@ export default () => {
const { avatar, dreamPic: url, address, id, dreamTitle: title, dreamContent: content } = DataManager.ins.getData('yyh_join1_dreamDetail').data; const { avatar, dreamPic: url, address, id, dreamTitle: title, dreamContent: content } = DataManager.ins.getData('yyh_join1_dreamDetail').data;
let shareUrl = 'http://activity.m.duiba.com.cn/customShare/share?id=3679'; let shareUrl = `https://activity.m.duiba.com.cn/projectx/${window['projectID']}/fea2bff6f.html`;
const prefix = `&avatar=${encodeURIComponent(avatar)}&url=${encodeURIComponent(url)}&address=${address}&id2=${id}&title=${title}&content=${content}` const prefix = `?avatar=${encodeURIComponent(avatar)}&url=${encodeURIComponent(url)}&address=${address}&id2=${id}&title=${title}&content=${content}`
shareUrl += prefix; shareUrl += prefix;
console.log(prefix); console.log(prefix);
...@@ -18,6 +18,4 @@ export default () => { ...@@ -18,6 +18,4 @@ export default () => {
imgUrl: 'http://yun.duiba.com.cn/duibaManagerWeb/fgzpqk6zzo.png', imgUrl: 'http://yun.duiba.com.cn/duibaManagerWeb/fgzpqk6zzo.png',
url: shareUrl, type: '3' url: shareUrl, type: '3'
}); });
} }
// https://mng.duiba.com.cn/newmanager/html/newduibahdtool.html#!/skinedit/3679 \ No newline at end of file
//?avatar=http%3A%2F%2Fyun.duiba.com.cn%2Fdb_games%2Fimg2.jpg&url=http%3A%2F%2Fyun.duiba.com.cn%2Fdb_games%2Fimg2.jpg&address=浙江省1,杭州市2,上城区3&id=999&title=梦想标题标题梦想标题&content=梦想内容梦想内容梦容梦想内容
\ 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