fix 类别映射表修改
This commit is contained in:
@@ -13,6 +13,8 @@ router = APIRouter()
|
||||
|
||||
@router.post("")
|
||||
def attribute(request_data: AttributeModel):
|
||||
logger.info(f"attribute requests is @@@@@@@@@@@:{request_data}")
|
||||
service = AttributeRecognition()
|
||||
response = service.attribute(const, request_data)
|
||||
logger.info(f"attribute response is @@@@@@@@@@@:{response}")
|
||||
return {"code": 200, "message": "ok", "data": response}
|
||||
|
||||
Reference in New Issue
Block a user