This commit is contained in:
vipg
2025-11-17 17:48:06 +08:00
parent f13a58e116
commit 2f461a3a95

View File

@@ -4,4 +4,24 @@ curl -X POST "127.0.0.1:20000/user/register" \
"account": "test",
"password": "test12341234"
}'
---
---
# 创建美国
curl -X POST "127.0.0.1:20000/country/create" \
-H "Content-Type: application/json" \
-d '{"name": "美国", "code": "US"}'
# 创建中国
curl -X POST "127.0.0.1:20000/country/create" \
-H "Content-Type: application/json" \
-d '{"name": "中国", "code": "CN"}'
# 创建日本
curl -X POST "127.0.0.1:20000/country/create" \
-H "Content-Type: application/json" \
-d '{"name": "日本", "code": "JP"}'
# 创建香港
curl -X POST "127.0.0.1:20000/country/create" \
-H "Content-Type: application/json" \
-d '{"name": "香港", "code": "HK"}'
---