Commit a93aa36e authored by wildfirecode13's avatar wildfirecode13

1

parent fa083592
...@@ -156,7 +156,8 @@ Page({ ...@@ -156,7 +156,8 @@ Page({
onShareAppMessage() { onShareAppMessage() {
// 返回自定义分享信息 // 返回自定义分享信息
SHARE_CONFIG.imageUrl = '' SHARE_CONFIG.imageUrl = ''
SHARE_CONFIG.path = this.changeURLArg('/pages/homePage/homePage&', 'shareId', app.openId) SHARE_CONFIG.path = this.changeURLArg('/pages/homePage/homePage', 'shareId', app.openId)
console.log('SHARE_CONFIG.path',SHARE_CONFIG.path)
return SHARE_CONFIG; return SHARE_CONFIG;
}, },
......
...@@ -84,9 +84,9 @@ const request = ({ cloud, cloudName, requestType = 'cloud' }) => { ...@@ -84,9 +84,9 @@ const request = ({ cloud, cloudName, requestType = 'cloud' }) => {
const requestCloud = () => { const requestCloud = () => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
console.log('requestCloud', handle, params);
cloud.function.invoke(_cloudName, params, handle).then(res => { cloud.function.invoke(_cloudName, params, handle).then(res => {
// console.log('request Cloud callback=>', handle, res, JSON.stringify(res)); console.log('request Cloud callback=>', handle, res, JSON.stringify(res));
// console.log('requestCloud', handle, params, res);
hideMyLoading(); hideMyLoading();
if (res && res.success) { if (res && res.success) {
resolve(res); resolve(res);
......
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