This commit is contained in:
vipg
2025-11-15 18:01:31 +08:00
parent 03f14394e5
commit 5c71c93eee
2 changed files with 11 additions and 2 deletions

View File

@@ -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"
}'