Files
huangguo_server/app/router/store.go
T
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

19 lines
384 B
Go

package router
import (
"91porn-server/app/api/walletctrl"
"github.com/gin-gonic/gin"
)
func storeWalletRouter(router *gin.RouterGroup) {
wallet := router.Group("/store_wallet")
{
// 获取余额
wallet.GET("/balance", walletctrl.WalletBalance)
// 扣款
wallet.POST("/deduct", walletctrl.WalletDeduct)
// 退款
wallet.POST("/refund", walletctrl.WalletRefund)
}
}