response.py 160 B

12345
  1. from typing import Any
  2. def response_payload(code: int, msg: str, data: dict[str, Any]) -> dict[str, Any]:
  3. return {"code": code, "msg": msg, "data": data}