diff --git a/pages/ai/paint/loverPaint.vue b/pages/ai/paint/loverPaint.vue index c1d8a96..f7cd006 100644 --- a/pages/ai/paint/loverPaint.vue +++ b/pages/ai/paint/loverPaint.vue @@ -195,7 +195,7 @@ let that = this; const data = { userId: that.userInfo.id, - platform: 1, + platform: 1, //此处1代表抖音 appType: 0 } const res = await checkUserCanAiPaint(data); diff --git a/pages/ai/paint/paint.vue b/pages/ai/paint/paint.vue index 8f6b8bb..e9c9c5b 100644 --- a/pages/ai/paint/paint.vue +++ b/pages/ai/paint/paint.vue @@ -409,7 +409,7 @@ painterId: that.userInfo.id, painterName: that.userInfo.username, appType: 0, - platform: 1, + platform: 1, //此处1代表抖音 goldNum: that.formData.goldNum } uni.navigateTo({ diff --git a/pages/creator/imgDetail.vue b/pages/creator/imgDetail.vue index 00a317f..1d5fc4e 100644 --- a/pages/creator/imgDetail.vue +++ b/pages/creator/imgDetail.vue @@ -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); diff --git a/pages/userInfo/aiPaint/aiPaint.vue b/pages/userInfo/aiPaint/aiPaint.vue index 888f531..4e0702a 100644 --- a/pages/userInfo/aiPaint/aiPaint.vue +++ b/pages/userInfo/aiPaint/aiPaint.vue @@ -76,7 +76,7 @@ that.loadStatus = 'loading'; const res = await getAiPaintPage({ painterId: that.userInfo.id, - source: '1', + source: '1', //此处1代表抖音 pageNum: that.pageNum, pageSize: that.pageSize }) diff --git a/pages/userInfo/userInfo.vue b/pages/userInfo/userInfo.vue index 5ff5e6d..e50cfea 100644 --- a/pages/userInfo/userInfo.vue +++ b/pages/userInfo/userInfo.vue @@ -343,7 +343,7 @@ import UniIcons from "../../uni_modules/uni-icons/components/uni-icons/uni-icons const data = { cdk: response.content, userId: that.userInfo.id, - source: '1', + source: '1', //此处1代表抖音 appType: '0' } useCdk(data).then(res =>{