手动添加关注博主BUG修复

This commit is contained in:
jianzhichu
2026-06-10 20:26:16 +08:00
parent cc96e03cb9
commit e83ad8d85c
+4
View File
@@ -60,6 +60,10 @@ namespace dy.net.Controllers
[HttpPost("add")]
public async Task<IActionResult> 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");
}