From e83ad8d85c291fb8132bdaff3b06c74015a7f530 Mon Sep 17 00:00:00 2001 From: jianzhichu Date: Wed, 10 Jun 2026 20:26:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E5=8A=A8=E6=B7=BB=E5=8A=A0=E5=85=B3?= =?UTF-8?q?=E6=B3=A8=E5=8D=9A=E4=B8=BBBUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Controllers/FollowController.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Controllers/FollowController.cs b/Controllers/FollowController.cs index ca0d627..217fdfc 100644 --- a/Controllers/FollowController.cs +++ b/Controllers/FollowController.cs @@ -60,6 +60,10 @@ namespace dy.net.Controllers [HttpPost("add")] public async Task AddFollow(DouyinFollowed followed) { + if (string.IsNullOrWhiteSpace(followed.mySelfId)) + { + return ApiResult.Fail("请先配置抖音授权信息,抖音授权配置里面填写你的uid"); + } var res = await _douyinFollowService.AddAsync(followed); return ApiResult.SuccOrFail(res, "", res ? "" : "添加失败,或者已存在相同secuid和uid"); }