文件名长度问题...

This commit is contained in:
jianzhichu
2025-12-01 00:41:47 +08:00
parent 89d311901d
commit 77628c9833
8 changed files with 399 additions and 121 deletions
+7
View File
@@ -1,4 +1,5 @@
using dy.net.dto;
using dy.net.model;
using dy.net.service;
using dy.net.utils;
using Microsoft.AspNetCore.Http;
@@ -63,6 +64,12 @@ namespace dy.net.Controllers
await Task.Delay(1000);
return Ok(new { code = 0 });
}
[HttpPost("add")]
public async Task<IActionResult> AddFollow(DouyinFollowed followed)
{
var res = await _douyinFollowService.AddAsync(followed);
return Ok(new { code = res ? 0 : -1, msg = res ? "" : "添加失败" });
}
/// <summary>
/// 修改关注同步状态