add
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
curl -X POST "http//127.0.0.1:20000/user/register" \
|
curl -X POST "http://127.0.0.1:20000/user/register" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"account": "test",
|
"account": "test",
|
||||||
@@ -6,47 +6,47 @@ curl -X POST "http//127.0.0.1:20000/user/register" \
|
|||||||
}'
|
}'
|
||||||
---
|
---
|
||||||
# 创建美国
|
# 创建美国
|
||||||
curl -X POST "http//127.0.0.1:20000/country/create" \
|
curl -X POST "http://127.0.0.1:20000/country/create" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"name": "美国", "code": "US"}'
|
-d '{"name": "美国", "code": "US"}'
|
||||||
|
|
||||||
# 创建中国
|
# 创建中国
|
||||||
curl -X POST "http//127.0.0.1:20000/country/create" \
|
curl -X POST "http://127.0.0.1:20000/country/create" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"name": "中国", "code": "CN"}'
|
-d '{"name": "中国", "code": "CN"}'
|
||||||
|
|
||||||
# 创建日本
|
# 创建日本
|
||||||
curl -X POST "http//127.0.0.1:20000/country/create" \
|
curl -X POST "http://127.0.0.1:20000/country/create" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"name": "日本", "code": "JP"}'
|
-d '{"name": "日本", "code": "JP"}'
|
||||||
|
|
||||||
# 创建香港
|
# 创建香港
|
||||||
curl -X POST "http//127.0.0.1:20000/country/create" \
|
curl -X POST "http://127.0.0.1:20000/country/create" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"name": "香港", "code": "HK"}'
|
-d '{"name": "香港", "code": "HK"}'
|
||||||
---
|
---
|
||||||
# 创建美国
|
# 创建美国
|
||||||
curl -X POST "http//127.0.0.1:20000/currency/create" \
|
curl -X POST "http://127.0.0.1:20000/currency/create" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"name": "美元", "code": "USD"}'
|
-d '{"name": "美元", "code": "USD"}'
|
||||||
|
|
||||||
# 创建中国
|
# 创建中国
|
||||||
curl -X POST "http//127.0.0.1:20000/currency/create" \
|
curl -X POST "http://127.0.0.1:20000/currency/create" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"name": "人民币", "code": "CNY"}'
|
-d '{"name": "人民币", "code": "CNY"}'
|
||||||
|
|
||||||
# 创建日本
|
# 创建日本
|
||||||
curl -X POST "http//127.0.0.1:20000/currency/create" \
|
curl -X POST "http://127.0.0.1:20000/currency/create" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"name": "日元", "code": "JPY"}'
|
-d '{"name": "日元", "code": "JPY"}'
|
||||||
|
|
||||||
# 创建香港
|
# 创建香港
|
||||||
curl -X POST "http//127.0.0.1:20000/currency/create" \
|
curl -X POST "http://127.0.0.1:20000/currency/create" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"name": "港币", "code": "HKD"}'
|
-d '{"name": "港币", "code": "HKD"}'
|
||||||
---
|
---
|
||||||
# 创建郑州商品交易所
|
# 创建郑州商品交易所
|
||||||
curl -X POST http//127.0.0.1:20000/exchange/create \
|
curl -X POST http://127.0.0.1:20000/exchange/create \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"name": "郑州商品交易所",
|
"name": "郑州商品交易所",
|
||||||
@@ -55,7 +55,7 @@ curl -X POST http//127.0.0.1:20000/exchange/create \
|
|||||||
}'
|
}'
|
||||||
|
|
||||||
# 创建上海证券交易所
|
# 创建上海证券交易所
|
||||||
curl -X POST http//127.0.0.1:20000/exchange/create \
|
curl -X POST http://127.0.0.1:20000/exchange/create \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"name": "上海证券交易所",
|
"name": "上海证券交易所",
|
||||||
@@ -64,7 +64,7 @@ curl -X POST http//127.0.0.1:20000/exchange/create \
|
|||||||
}'
|
}'
|
||||||
|
|
||||||
# 创建深圳证券交易所
|
# 创建深圳证券交易所
|
||||||
curl -X POST http//127.0.0.1:20000/exchange/create \
|
curl -X POST http://127.0.0.1:20000/exchange/create \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"name": "深圳证券交易所",
|
"name": "深圳证券交易所",
|
||||||
@@ -73,7 +73,7 @@ curl -X POST http//127.0.0.1:20000/exchange/create \
|
|||||||
}'
|
}'
|
||||||
|
|
||||||
# 创建上海期货交易所
|
# 创建上海期货交易所
|
||||||
curl -X POST http//127.0.0.1:20000/exchange/create \
|
curl -X POST http://127.0.0.1:20000/exchange/create \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"name": "上海期货交易所",
|
"name": "上海期货交易所",
|
||||||
@@ -82,7 +82,7 @@ curl -X POST http//127.0.0.1:20000/exchange/create \
|
|||||||
}'
|
}'
|
||||||
|
|
||||||
# 创建中国金融期货交易所
|
# 创建中国金融期货交易所
|
||||||
curl -X POST http//127.0.0.1:20000/exchange/create \
|
curl -X POST http://127.0.0.1:20000/exchange/create \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"name": "中国金融期货交易所",
|
"name": "中国金融期货交易所",
|
||||||
@@ -91,7 +91,7 @@ curl -X POST http//127.0.0.1:20000/exchange/create \
|
|||||||
}'
|
}'
|
||||||
|
|
||||||
# 创建大连商品期货交易所
|
# 创建大连商品期货交易所
|
||||||
curl -X POST http//127.0.0.1:20000/exchange/create \
|
curl -X POST http://127.0.0.1:20000/exchange/create \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"name": "大连商品交易所",
|
"name": "大连商品交易所",
|
||||||
@@ -100,7 +100,7 @@ curl -X POST http//127.0.0.1:20000/exchange/create \
|
|||||||
}'
|
}'
|
||||||
|
|
||||||
# 创建广州期货交易所
|
# 创建广州期货交易所
|
||||||
curl -X POST http//127.0.0.1:20000/exchange/create \
|
curl -X POST http://127.0.0.1:20000/exchange/create \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"name": "广州期货交易所",
|
"name": "广州期货交易所",
|
||||||
@@ -109,7 +109,7 @@ curl -X POST http//127.0.0.1:20000/exchange/create \
|
|||||||
}'
|
}'
|
||||||
|
|
||||||
# 创建上海国际能源交易中心
|
# 创建上海国际能源交易中心
|
||||||
curl -X POST http//127.0.0.1:20000/exchange/create \
|
curl -X POST http://127.0.0.1:20000/exchange/create \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"name": "上海国际能源交易中心",
|
"name": "上海国际能源交易中心",
|
||||||
|
|||||||
Reference in New Issue
Block a user