Skip to content

Commit

Permalink
chore: 更改plan未查询到的状态码
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO authored Jan 14, 2025
1 parent 0f9b99d commit 3d0d91e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/order/afdian/query_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async def query_order(order_id: str):
plan = Plan.get(Plan.platform == "afdian", Plan.plan_id == bill.plan_id)
except Exception as e:
logger.error(f"Plan not found, order_id: {order_id}, error: {e}")
return {"ec": 403, "msg": "Plan not found"}
return {"ec": 500, "msg": "Plan not found"}

return {
"ec": 200,
Expand Down

0 comments on commit 3d0d91e

Please sign in to comment.