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