Skip to content

Release 20250710#10

Merged
MistEO merged 7 commits intomainfrom
dev
Jul 10, 2025
Merged

Release 20250710#10
MistEO merged 7 commits intomainfrom
dev

Conversation

@MistEO
Copy link
Copy Markdown
Contributor

@MistEO MistEO commented Jul 10, 2025

No description provided.

@MistEO MistEO requested a review from Copilot July 10, 2025 14:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for an alipay_id on plans and introduces an admin notification endpoint.

  • Adds alipay_id to the Plan model and includes it in the query_details response
  • Implements a new /notify_admin route to forward request bodies to a configurable URL
  • Updates main.py, configuration, and environment sample to wire up the notifier

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/plan/details.py Include alipay_id in the details API response
src/database/init.py Add alipay_id field to the Plan model
src/config/init.py Add notify_admin_url to settings
main.py Register notify_admin_router in the FastAPI app
.env.sample Add NOTIFY_ADMIN_URL placeholder
src/notify_admin/init.py Implement the notify_admin endpoint
Comments suppressed due to low confidence (1)

src/plan/details.py:46

  • Add or update tests to verify that the new alipay_id field is correctly serialized and returned by query_details.
            "alipay_id": p.alipay_id,

MistEO and others added 3 commits July 10, 2025 23:21
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@MistEO MistEO merged commit 9aac7ac into main Jul 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants