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.
有时候支付宝会将会员等级缓存到本地的数据库中,导致直接hook会员等级无效(将这个模块停用然后直接打开付款码大概率能复现,因为缓存原因即使关掉模块也会停留在钻石等级,同理如果在hook之前已经被缓存了等级,修改将会无效),解决办法就是手动对数据库进行修改
数据库结构
问题复现