- REST api
- for user
- [post] api/v1/payments/charge
- @params
- order_id
- payment_method
- payment
- @params
- [post] api/v1/payments/charge/:id/refund
- [post] api/v1/payments/charge
- for payment service callback
- payments/[payment_service (alipay .etc)]/notify
- for user
- model layer
- order
- charge
- refund
- charge
- order
时间: 2024-11-04 11:31:55