feat: 实现数据库备份和恢复并发调度 (#84)

This commit is contained in:
kanzihuang
2024-01-11 11:35:51 +08:00
committed by GitHub
parent 3857d674ba
commit bbec3eca0d
40 changed files with 1373 additions and 843 deletions

View File

@@ -272,7 +272,6 @@ func pkcs7UnPadding(data []byte) ([]byte, error) {
}
//获取填充的个数
unPadding := int(data[length-1])
// todo fix: slice bounds out of range
if unPadding > length {
return nil, errors.New("解密字符串时去除填充个数超出字符串长度")
}