Repository navigation
Conversation
Owner
|
思路没问题,实测也能拿分,但这是拿 App 通道身份直接上报(meta 空串目前服务端不校验),风控上太激进。我只有一个号,连续签到两百多天,不敢在生产挂这个兜底,先不合了,真遇到快照缺失再单独评估。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
V4-china / geo=CN 环境下,每日任务(dailySet)在页面快照(RSC flight 数据)中无 offerId(offers 恒=7),
ensureOffer找不到 → 直接跳过,每日任务永远无法自动完成。修复
页面快照缺失时,回退到 App dapi 官方通道 上报:
POST prod.rewardsplatform.microsoft.com/dapi/me/activities(URLs.platform.activities,端点早已定义但从未被调用)。this.bot.accessToken(MBI_SSL scope){attributes:{offerid}, amount:1, type:101, risk_context:{}, channel:'SAAndroid', id:UUID, meta:'', country:'cn'}code===0,日志输出dapi 上报完成 | pointsGained=10验证
geo=CN 移动端实跑:
dapi 上报完成 | offerId=Gamification_DailySet_ZHCN_20261019_Child3 | pointsGained=10(其余 Child 手动确认同通道有效)。仅改动
src/functions/activities/api/UrlReward.ts一个文件。