feat: delete curl

This commit is contained in:
Tim
2025-07-01 10:22:43 +08:00
parent e8f4fd8175
commit 664d7de105
6 changed files with 0 additions and 76 deletions

View File

@@ -11,31 +11,6 @@ import org.springframework.web.bind.annotation.*;
import java.util.Map;
import java.util.Optional;
/*
curl -X POST http://localhost:8080/api/auth/register \
-H "Content-Type: application/json" \
-d '{
"username": "test_user1",
"email": "1216414009@qq.com",
"password": "password"
}'
curl -X POST http://localhost:8080/api/auth/verify \
-H "Content-Type: application/json" \
-d '{
"username": "test_user1",
"code": "451247"
}'
curl -X POST http://localhost:8080/api/auth/login \
-H "Content-Type: application/json" \
-d '{
"username": "test_user1",
"password": "password"
}'
*/
@RestController
@RequestMapping("/api/auth")
@RequiredArgsConstructor