mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-04 16:37:46 +08:00
支持官方直连支付、退款配置与套餐联动
This commit is contained in:
@@ -313,7 +313,11 @@ pub(crate) fn admin_proxy_local_requires_buffered_body(
|
||||
| (Some("billing_manage"), http::Method::POST, Some("create_plan"))
|
||||
| (Some("billing_manage"), http::Method::PUT, Some("update_plan"))
|
||||
| (Some("billing_manage"), http::Method::PATCH, Some("set_plan_status"))
|
||||
| (Some("payments_manage"), http::Method::PUT, Some("update_epay_gateway"))
|
||||
| (
|
||||
Some("payments_manage"),
|
||||
http::Method::PUT,
|
||||
Some("update_epay_gateway" | "update_payment_gateway"),
|
||||
)
|
||||
| (Some("payments_manage"), http::Method::POST, Some("credit_order"))
|
||||
| (Some("payments_manage"), http::Method::POST, Some("create_redeem_code_batch"))
|
||||
| (Some("payments_manage"), http::Method::POST, Some("delete_redeem_code_batch"))
|
||||
@@ -483,7 +487,14 @@ pub(crate) fn public_support_local_requires_buffered_body(
|
||||
| (
|
||||
Some("payment_callback"),
|
||||
http::Method::POST,
|
||||
Some("callback" | "epay_notify" | "epay_return"),
|
||||
Some(
|
||||
"callback"
|
||||
| "epay_notify"
|
||||
| "epay_return"
|
||||
| "alipay_notify"
|
||||
| "wxpay_notify"
|
||||
| "stripe_webhook",
|
||||
),
|
||||
)
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user