From cd53dc6d242c64cfc1a97c02c02bd4d4a22a4c0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89?= <927625802@qq.com> Date: Wed, 17 Nov 2021 17:37:41 +0800 Subject: [PATCH] :memo: update readme --- README.md | 2 ++ drivers/googledrive.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 2c29b102..3b29e8e1 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ - 本地存储 - 阿里云盘 - Onedrive/世纪互联 +- 天翼云盘 +- GoogleDrive - ... ### 如何使用 diff --git a/drivers/googledrive.go b/drivers/googledrive.go index ec20d0c6..3b5b1eb3 100644 --- a/drivers/googledrive.go +++ b/drivers/googledrive.go @@ -82,6 +82,8 @@ func (g GoogleDrive) Save(account *model.Account, old *model.Account) error { _ = model.SaveAccount(account) return err } + account.Status = "work" + _ = model.SaveAccount(account) return nil }