|
@@ -73,17 +73,27 @@ Page({
|
|
|
});
|
|
|
};
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
|
|
|
* 生命周期函数--监听页面加载
|
|
|
*/
|
|
|
onLoad: function (options) {
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
const postsId = options.postId || '';
|
|
|
const shareKey = options.shareKey || '';
|
|
|
-
|
|
|
-
|
|
|
- if(postsId) {
|
|
|
+ console.log('shareKey' + options.shareKey)
|
|
|
+
|
|
|
+ if(postsId || shareKey) {
|
|
|
login.getOpenidSessionKey(res => {
|
|
|
APIClient.getOneSchedule({
|
|
|
uid: res.data.data.uid
|
|
@@ -114,12 +124,12 @@ Page({
|
|
|
})
|
|
|
});
|
|
|
};
|
|
|
+
|
|
|
},
|
|
|
|
|
|
|
|
|
* 生命周期函数--监听页面初次渲染完成
|
|
|
*/
|
|
|
onReady: function () {
|
|
|
-
|
|
|
},
|
|
|
})
|