Commit e8ebfe48 authored by alex yao's avatar alex yao

feat: 关键词提取

parent bc2ad6bc
This diff is collapsed.
@startuml
'https://plantuml.com/sequence-diagram
autonumber
participant User
participant FrontEnd
participant BackEnd
participant Pay
User -> FrontEnd: 充值权益
FrontEnd -> BackEnd: 获取支付权益套餐信息
note right of BackEnd: 套餐名、价格、等级【专业版、旗舰版】
BackEnd -> FrontEnd: 返回权益套餐信息
note right of FrontEnd: 每次切换支付宝或微信都需要重新创建订单
FrontEnd -> BackEnd: 创建支付订单
BackEnd -> FrontEnd: 返回支付订单号
FrontEnd -> BackEnd: 获取支付二维码\n(传入渠道码、支付订单号)
BackEnd -> Pay: 获取渠道支付二维码
Pay -> BackEnd: 返回二维码URL
BackEnd -> FrontEnd: 返回二维码URL
FrontEnd -> BackEnd: 轮询订单状态
User -> FrontEnd: 扫码支付
Pay --> BackEnd: 支付成功回调
BackEnd -> BackEnd: 修改订单状态、更新用户权益
FrontEnd -> BackEnd: 获取订单状态
BackEnd -> FrontEnd: 支付成功
@enduml
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment