19 lines
384 B
Go
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)
|
|
}
|
|
}
|