Skip to content

用户组未过期时兑换礼品码会将礼品码错误标记为已使用 #3339

@2697261651

Description

@2697261651

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed. / 请使用英语提交,否则会被关闭。
  • Please do not modify this template :) and fill in all the required fields.

Cloudreve version

4.13.0

Pro or Community Edition

Pro

Database type

MySQL

Browser and operating system

No response

Steps to reproduce

用户组A未过期时兑换用户组B的礼品码会显示兑换失败,但是礼品码会被标记为已使用

✔️ Expected Behavior

兑换失败后礼品码应是未使用状态

❌ Actual Behavior

No response

Addition context information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions