diff --git a/backend/README.md b/backend/README.md index 052fc1b..e2e64f8 100644 --- a/backend/README.md +++ b/backend/README.md @@ -44,4 +44,49 @@ curl -X POST "https://api.fishestlife.com/currency/create" \ curl -X POST "https://api.fishestlife.com/currency/create" \ -H "Content-Type: application/json" \ -d '{"name": "港币", "code": "HKD"}' +--- +# 创建郑州商品交易所 +curl -X POST https://api.fishestlife.com/exchange/create \ + -H "Content-Type: application/json" \ + -d '{ + "name": "郑州商品交易所", + "short_name": "郑商所", + "code": "CZCE" + }' + +# 创建上海证券交易所 +curl -X POST https://api.fishestlife.com/exchange/create \ + -H "Content-Type: application/json" \ + -d '{ + "name": "上海证券交易所", + "short_name": "上交所", + "code": "SSE" + }' + +# 创建深圳证券交易所 +curl -X POST https://api.fishestlife.com/exchange/create \ + -H "Content-Type: application/json" \ + -d '{ + "name": "深圳证券交易所", + "short_name": "深交所", + "code": "SZSE" + }' + +# 创建上海期货交易所 +curl -X POST https://api.fishestlife.com/exchange/create \ + -H "Content-Type: application/json" \ + -d '{ + "name": "上海期货交易所", + "short_name": "上期所", + "code": "SHFE" + }' + +# 创建中国金融期货交易所 +curl -X POST https://api.fishestlife.com/exchange/create \ + -H "Content-Type: application/json" \ + -d '{ + "name": "中国金融期货交易所", + "short_name": "中金所", + "code": "CFFEX" + }' --- \ No newline at end of file