|
@@ -11,7 +11,7 @@ import VCover from '@/view/iframe/treasure-hunt/cover.vue'
|
|
|
import VInvite from '@/view/iframe/treasure-hunt/invite.vue'
|
|
|
import VResult from '@/view/iframe/treasure-hunt/result.vue'
|
|
|
import { inviteDetail, treasureDetail, treasureOpen } from '@/http/treasure.js'
|
|
|
-import { reSetBindTwtterId } from '@/http/help.js'
|
|
|
+import { reSetBindTwtterId, reSetBindRepost } from '@/http/help.js'
|
|
|
import { getQueryString } from '@/uilts/help'
|
|
|
import VToast from '@/view/iframe/treasure-hunt/components/toast.vue'
|
|
|
import OpenBox from '@/view/iframe/treasure-hunt/components/open-box.vue'
|
|
@@ -55,6 +55,13 @@ state.init = (callback) => {
|
|
|
}).then((res) => {
|
|
|
if (res.code == 0) {
|
|
|
handleCommon(res, callback)
|
|
|
+ // 绑定repostSrcContentId
|
|
|
+ if (!res.data.repostSrcContentId) {
|
|
|
+ reSetBindRepost({
|
|
|
+ inviteCode: state.invite_code,
|
|
|
+ tweetId: state.tweetId
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
|