|
@@ -395,6 +395,7 @@ let facebookAppConfig = {
|
|
|
|
|
|
let state = reactive({
|
|
|
status: '',
|
|
|
+ userId: '',
|
|
|
loading_show: false,
|
|
|
loading_redbag: true,
|
|
|
detail: {},
|
|
@@ -869,6 +870,10 @@ const showNotOpenPage = () => {
|
|
|
Report.reportLog({
|
|
|
pageSource: Report.pageSource.pending_page,
|
|
|
businessType: Report.businessType.pageView
|
|
|
+ }, {
|
|
|
+ postId: state.postId,
|
|
|
+ srcContentId: state.tweetId,
|
|
|
+ senderId: state.userId,
|
|
|
});
|
|
|
}
|
|
|
const showOpenedPage = () => {
|
|
@@ -1035,6 +1040,7 @@ function init(initParams) {
|
|
|
state.detail = JSON.parse(res.data.postBizData)
|
|
|
state.detail.taskCondition = state.detail.taskCondition || []
|
|
|
state.tweetId = state.srcContentId;
|
|
|
+ state.userId = res.data.srcUserId;
|
|
|
state.tweet_author = state.detail.postUserInfo && state.detail.postUserInfo.nickName || '';
|
|
|
// 不要删除这个console
|
|
|
console.log('postBizData',state.detail)
|
|
@@ -1232,6 +1238,10 @@ function handleRedPacket() {
|
|
|
pageSource: Report.pageSource.pending_page,
|
|
|
businessType: Report.businessType.buttonClick,
|
|
|
objectType: Report.objectType.open_button
|
|
|
+ }, {
|
|
|
+ postId: state.postId,
|
|
|
+ srcContentId: state.tweetId,
|
|
|
+ senderId: state.userId,
|
|
|
});
|
|
|
}
|
|
|
|