Commit f27b3bc5 by baiquan

refactor(get_schema): 修改 get_schema 接口参数

- 将 GetSchemaRequest 中的 category_id 字段改为 json_data
- 移除 get_schema 函数内部的固定 json_data 结构,改为使用传入的参数
parent 0f3b32a6
......@@ -51,7 +51,7 @@ class GenerateABogusRequest(BaseModel):
class GetSchemaRequest(BaseModel):
headers: dict
proxy_url: str
json_data: dict[str, any]
json_data: dict
class CreateGoodsRequest(BaseModel):
headers: dict
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment