label forbidden status for share list

This commit is contained in:
tickstep 2023-04-30 10:01:32 +08:00
parent ccc285ce5e
commit 0edf7d0af2

View File

@ -316,6 +316,7 @@ func RunShareList() {
et = record.Expiration
}
status := "有效"
if record.Status == "enabled" {
if record.FirstFile == nil {
status = "已删除"
} else {
@ -327,6 +328,10 @@ func RunShareList() {
}
}
}
} else if record.Status == "forbidden" {
status = "违规"
}
tb.Append([]string{strconv.Itoa(k + 1), record.ShareId, record.ShareUrl, record.SharePwd,
record.ShareName,
//record.FileIdList[0],