上传文件至「/」

This commit is contained in:
2026-09-19 14:42:25 +08:00
parent 6085ce85fe
commit 4818d2bfcf
5 changed files with 71 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
# 商品对象
from fastapi import APIRouter
GoodsAPI=APIRouter()
@GoodsAPI.get('/goods',summary='获取商品信息')
def get_goods():
return '获取goods'
@GoodsAPI.post('/goods',summary='新增商品信息')
def post_goods():
return '新增goods'