Browse Source

fix-bug

tags/v1.22.3.2^2
liuzx 3 years ago
parent
commit
3d07126442
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      models/attachment.go

+ 2
- 2
models/attachment.go View File

@@ -571,8 +571,8 @@ func Attachments(opts *AttachmentsOptions) ([]*AttachmentInfo, int64, error) {
}

if opts.JustNeedZipFile {
var DecompressState []int
DecompressState = append(DecompressState, 1, 2, 3)
var DecompressState []int32
DecompressState = append(DecompressState, DecompressStateDone, DecompressStateIng, DecompressStateFailed)
cond = cond.And(
builder.In("attachment.decompress_state", DecompressState),
)


Loading…
Cancel
Save