fix:修复注释错误

This commit is contained in:
2026-01-04 21:22:26 +08:00
parent a427b0f22a
commit 398c716734
69 changed files with 353 additions and 318 deletions

View File

@@ -56,10 +56,10 @@
var user = await _repo.GetAsync(id);
if (user == null) return NotFound();
// 2. (空行后) 扣减余额逻辑
// 2. 扣减余额逻辑
user.Balance -= amount;
// 3. (空行后) 保存更改
// 3. 保存更改
await _unitOfWork.SaveChangesAsync();
```
* **Swagger**:必须开启 JWT 鉴权按钮Request/Response 示例必须清晰。