mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 22:42:15 +08:00
label forbidden status for share list
This commit is contained in:
parent
ccc285ce5e
commit
0edf7d0af2
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user