chavyleung / chavyleung/scripts

时光相册签到失败

Open
#344 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5.5k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

[09:10:57.973] script test => https://raw.githubusercontent.com/chavyleung/scripts/master/everphoto/everphoto.js
[09:10:58.041] console.log => 🔔 时光相册 开始签到
[09:10:58.937] console.log => ❌ 时光相册 showmsg - 签到失败: {"timestamp":1620349858,"code":0,"data":{"can_checkin":false,"reward_rule_title":"签到奖励规则","reward_rule_content":"连续签到7天以上每天可得50MB永久空间","reward_rule_list":[{"continuity":"第1天","reward":"+1MB"},{"continuity":"第2天","reward":"+2MB"},{"continuity":"第3天","reward":"+3MB"},{"continuity":"第4天","reward":"+4MB"},{"continuity":"第5天","reward":"+5MB"},{"continuity":"第6天","reward":"+6MB"},{"continuity":"第7天","reward":"+50MB"},{"continuity":"第7+天","reward":"+50MB"}],"member_list_title":"赚取更多永久空间","member_list_data":[{"level":"成为初级会员","privilege":"签到奖励x2"},{"level":"成为中级会员","privilege":"签到奖励x3"},{"level":"成为高级会员","privilege":"签到奖励x4"}]}}
[09:10:58.942] script evaluate timer finish => everphoto.js
[09:10:58.942] script context recycle => everphoto.js
[09:10:58.943] script context dealloc => everphoto.js
[09:10:58.966] $notification.post did schedule success

上面是日志

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading everphoto.js at the linked raw URL and reproduce the reported check-in request using the log as the expected response context. Inspect how the script handles can_checkin:false and define completion as correctly handling the reported check-in failure without breaking its notification flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.