|
|
|
@ -174,7 +174,7 @@ var videoAd = null; |
|
|
|
const params = { |
|
|
|
userId: this.userInfo.id, |
|
|
|
appType: '0', |
|
|
|
platform: '0' ,//此处0代表抖音 |
|
|
|
platform: '1' ,//此处1代表抖音 |
|
|
|
} |
|
|
|
const res = await getRestDownloadNum(params); |
|
|
|
if (res && res.data.code === 200) { |
|
|
|
@ -539,7 +539,7 @@ var videoAd = null; |
|
|
|
scanCode: that.scanCode, |
|
|
|
userId: that.userInfo.id, |
|
|
|
appType: '0', |
|
|
|
platform: '0' //此处0代表抖音 |
|
|
|
platform: '1' //此处1代表抖音 |
|
|
|
} |
|
|
|
const res = await insertOrUpdatePreAdProfit(params); |
|
|
|
if (res && res.data.code === 200) { |
|
|
|
@ -560,7 +560,7 @@ var videoAd = null; |
|
|
|
creatorId: that.detailMsg.creatorId, |
|
|
|
scanCode: that.scanCode, |
|
|
|
appType: '0', |
|
|
|
platform: '0' //此处0代表抖音 |
|
|
|
platform: '1' //此处1代表抖音 |
|
|
|
} |
|
|
|
const res = await insertOrUpdatePreInviteProfit(params) |
|
|
|
if (res && res.data.code === 200) { |
|
|
|
@ -579,7 +579,7 @@ var videoAd = null; |
|
|
|
const params = { |
|
|
|
userId: this.userInfo.id, |
|
|
|
appType: '0', |
|
|
|
platform: '0' ,//此处0代表抖音 |
|
|
|
platform: '1' ,//此处1代表抖音 |
|
|
|
adType: adType |
|
|
|
} |
|
|
|
const res = await checkUserCanDownload(params); |
|
|
|
|