This commit is contained in:
vipg
2025-11-17 18:10:40 +08:00
parent a47e544657
commit 44e2d7c1f6
2 changed files with 31 additions and 11 deletions

View File

@@ -1,27 +1,47 @@
curl -X POST "127.0.0.1:20000/user/register" \
curl -X POST "https://api.fishestlife.com/user/register" \
-H "Content-Type: application/json" \
-d '{
"account": "test",
"password": "test12341234"
}'
---
# 创建美国
curl -X POST "127.0.0.1:20000/country/create" \
---
# 创建美国
curl -X POST "https://api.fishestlife.com/country/create" \
-H "Content-Type: application/json" \
-d '{"name": "美国", "code": "US"}'
# 创建中国
curl -X POST "127.0.0.1:20000/country/create" \
curl -X POST "https://api.fishestlife.com/country/create" \
-H "Content-Type: application/json" \
-d '{"name": "中国", "code": "CN"}'
# 创建日本
curl -X POST "127.0.0.1:20000/country/create" \
curl -X POST "https://api.fishestlife.com/country/create" \
-H "Content-Type: application/json" \
-d '{"name": "日本", "code": "JP"}'
# 创建香港
curl -X POST "127.0.0.1:20000/country/create" \
curl -X POST "https://api.fishestlife.com/country/create" \
-H "Content-Type: application/json" \
-d '{"name": "香港", "code": "HK"}'
---
# 创建美国
curl -X POST "https://api.fishestlife.com/currency/create" \
-H "Content-Type: application/json" \
-d '{"name": "美元", "code": "USD"}'
# 创建中国
curl -X POST "https://api.fishestlife.com/currency/create" \
-H "Content-Type: application/json" \
-d '{"name": "人民币", "code": "CNY"}'
# 创建日本
curl -X POST "https://api.fishestlife.com/currency/create" \
-H "Content-Type: application/json" \
-d '{"name": "日元", "code": "JPY"}'
# 创建香港
curl -X POST "https://api.fishestlife.com/currency/create" \
-H "Content-Type: application/json" \
-d '{"name": "港币", "code": "HKD"}'
---