添加支付宝和微信充值功能,重构交易处理逻辑,优化资源创建与支付链接生成
This commit is contained in:
@@ -43,6 +43,10 @@ func ApplyRouters(app *fiber.App) {
|
||||
user.Post("/get/token", handlers.GetUserByToken)
|
||||
user.Post("/identify", handlers.Identify)
|
||||
user.Post("/identify/callback", handlers.IdentifyCallback)
|
||||
user.Post("/recharge/prepare/alipay", handlers.RechargePrepareAlipay)
|
||||
user.Post("/recharge/confirm/alipay", handlers.RechargeConfirmAlipay)
|
||||
user.Post("/recharge/prepare/wechat", handlers.RechargePrepareWechat)
|
||||
user.Post("/recharge/confirm/wechat", handlers.RechargeConfirmWechat)
|
||||
|
||||
// 账单
|
||||
bill := api.Group("/bill")
|
||||
|
||||
Reference in New Issue
Block a user