Skip to content

多密钥渠道追加秘钥时应与数据库中的秘钥去重 #2519

@AhYi8

Description

@AhYi8

Routine Checks

  • I have confirmed there are no similar issues currently
  • I have confirmed I have upgraded to the latest version
  • I have thoroughly read the project README, especially the FAQ section
  • I understand and am willing to follow up on this issue, assist with testing and provide feedback
  • I understand and acknowledge the above, and understand that project maintainers have limited time and energy, issues that do not follow the rules may be ignored or closed directly

Issue Description

在多秘钥渠道中追加秘钥时,无法与数据库中的秘钥去重。

这里的秘钥去重,只是对文本域中的秘钥进行去重,在添加秘钥的时候是直接追加到数据库中的没有做去重处理。

Image

Steps to Reproduce

  1. 找一个多秘钥渠道,查看秘钥,复制所有秘钥;
  2. 再用追加模式添加复制的秘钥,秘钥数量会翻倍。

Expected Result

追加模式:在添加秘钥的时候,先取出数据库中的秘钥,合并去重后再覆盖原来的值即可;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions