add
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
curl -X POST http://localhost:20010/api/variety/create \
|
||||
curl -X POST http://localhost:20010/variety/create \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"name": "螺纹钢",
|
||||
"code": "RB",
|
||||
"tick": 1.0,
|
||||
"tick_price": 10.0
|
||||
}'
|
||||
|
||||
|
||||
curl -X POST http://localhost:20010/exchange/create \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"name": "1234",
|
||||
"code": "ads"
|
||||
}'
|
||||
Reference in New Issue
Block a user