diff --git a/pages_order/record/articleSharing.vue b/pages_order/record/articleSharing.vue index c69bfd5..0aa7608 100644 --- a/pages_order/record/articleSharing.vue +++ b/pages_order/record/articleSharing.vue @@ -178,7 +178,12 @@ imageUrl: headImage, path: `/pages_order/sharing/article?id=${this.id}&state=3&shareId=${this.userInfo.id}` } - +//调用增加分享次数的方法 + const params = { + id:this.id, + state:"4", + } + this.$fetch('addLogShareInfo', params) // todo: get times and check is unlocked this.isLocked = false diff --git a/pages_order/record/videoSharing.vue b/pages_order/record/videoSharing.vue index e459bfb..d423bf0 100644 --- a/pages_order/record/videoSharing.vue +++ b/pages_order/record/videoSharing.vue @@ -228,12 +228,13 @@ path: `/pages_order/sharing/video?id=${this.id}&state=1&shareId=${this.userInfo.id}` } - //调用增加分享次数的方法 - const params = { - id:this.id, - state:"0", - } - this.$fetch('addLogShareInfo', params) + //调用增加分享次数的方法 + const params = { + id:this.id, + state:"2", + } + this.$fetch('addLogShareInfo', params) + // todo: get times and check is unlocked this.isLocked = false