From f3d352800bea29a881439d72196645989c3914ea Mon Sep 17 00:00:00 2001 From: tickstep Date: Tue, 3 Dec 2024 14:04:00 +0800 Subject: [PATCH] adapt fast share api --- internal/command/share.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/command/share.go b/internal/command/share.go index 12aaa7e..5b259e6 100644 --- a/internal/command/share.go +++ b/internal/command/share.go @@ -214,7 +214,11 @@ func RunOpenShareSet(modeFlag, driveId string, paths []string, expiredTime strin return } - fmt.Printf("创建分享链接成功\n") + if modeFlag == "1" { + fmt.Printf("创建私密分享链接成功\n") + } else if modeFlag == "2" { + fmt.Printf("创建公开分享链接成功\n") + } if len(sharePwd) > 0 { fmt.Printf("链接:%s 提取码:%s\n", r.ShareUrl, r.SharePwd) } else {