Commit c3dfa7c2 authored by 熊东起's avatar 熊东起

优化2

parent f7b4a776
......@@ -7,6 +7,7 @@ const SHARE_CONFIG = { //待写
title: '星耀力紧缺!',
desc: descString,
imageUrl: "https://yun.duiba.com.cn/db_games/activity/kickball-feile/share.png",
// imageUrl: "https://isv.alibabausercontent.com/00000000/imgextra/i3/676606897/O1CN01O5y5e020osHijFG6s_!!676606897-2-isvtu-00000000.png",
path: 'pages/index/index'
}
......@@ -22,8 +23,10 @@ Page({
if (query.inviteId) this.inviteId = query.inviteId
console.warn('邀请码',this.inviteId);
},
onReady() {
async onReady() {
const result1 = await getApp().cloud.file.getTempFileURL({ fileId: 'cloud://BDF4A7D4EEAECE7D6AD2A0B73E32FE82//share.png' });
console.log("ghhdhsbckdsbcdcvnjdkhd",result1);
if (result1[0]) SHARE_CONFIG.imageUrl = result1[0].url;
},
onCanvasReady() {
......@@ -77,7 +80,7 @@ Page({
if (this.inviteId !== undefined) {
loginParams.inviteId = this.inviteId
}
+
console.warn('发送接口filaStar login,发送参数为', JSON.stringify(loginParams), loginParams);
fc.invoke(
"filaStar", loginParams,
......@@ -315,7 +318,7 @@ Page({
// path = path + "&isTaskShare=" + (this.shareStatus == 1 ? 'true' : 'false')
// this.shareStatus = null//用完清掉
// }
console.log('分享链接',path)
console.log('分享链接',path,{...rest})
return {
...rest,
path
......
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