itwanger / itwanger/paicoding

文章支付状态更新错误

Open
#117 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
3.2k
Forks
622
PR merge metrics
No merged PRs in 30d

Description

bug描述

Image
这里应该取反,当两个notes不同时,才更新,目前是相同时更新

复现

bug复现步骤:

Image
当同一个用户对同一篇文章多次调用已完成打赏,然后前后两次备注不同时,会出现该问题,备注永远是第一个,不会随着你的更改而更改

bug产生原因(若您已发现具体的bug产生原因,请直接贴上,也可以提merge进行修复)

忘记加取反符号了

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

The issue does not name a file or test. Start by tracing the payment-status update path for repeated completed tips from the same user and article, then inspect the notes comparison. Done means a changed note is saved while an unchanged note does not trigger an unnecessary update; verify both cases with the reported reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, payments
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.