add
This commit is contained in:
@@ -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"}'
|
||||
---
|
||||
Reference in New Issue
Block a user