Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
完成TUpload 的文档
Browse files Browse the repository at this point in the history
  • Loading branch information
teacher-zhou committed Aug 1, 2023
1 parent 2f39b79 commit c5df765
Show file tree
Hide file tree
Showing 11 changed files with 452 additions and 342 deletions.
4 changes: 2 additions & 2 deletions doc/TDesign.Docs.ServerSide/Controllers/UploadController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
namespace TDesign.Docs.ServerSide.Controllers;
[ApiController]
[Route("api/[controller]")]
public class UploadController:ControllerBase
public class UploadController : ControllerBase
{
[HttpPost("file")]
public async Task<IActionResult> PostAsync([FromForm]IFormCollection form)
public async Task<IActionResult> PostAsync([FromForm] IFormCollection form)
{
var savedPath = Path.Combine(Directory.GetCurrentDirectory(), "upload");

Expand Down
178 changes: 118 additions & 60 deletions doc/TDesign.Docs.ServerSide/TDesign.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c5df765

Please sign in to comment.