You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.2 KiB

package router
import (
"bkb-seller/api/bkb"
"github.com/gin-gonic/gin"
)
func InitInfluencerWalletRouter(Router *gin.RouterGroup) {
InRouter := Router.Group("wallet")
{
InRouter.GET("detail", bkb.GetUserWalletDetail) //账户信息
InRouter.GET("accountList", bkb.GetUserAccountList) //提现账户列表
InRouter.GET("account") //提现账户详情
InRouter.GET("commission", bkb.GetUserCommissionList) //佣金
InRouter.GET("withdrawal", bkb.GetUserWithdrawalList) //提现记录
InRouter.GET("withdrawal/list", bkb.GetWithdrawalList) //提现记录
InRouter.PUT("detail") //修改账户信息
InRouter.POST("account", bkb.AddUserAccount) //提现账户添加(需验证码)
InRouter.DELETE("account", bkb.DeleteUserAccount) //提现账户删除(需验证码)
InRouter.POST("/withdrawal", bkb.UserWithdrawal) // 账户余额提现
InRouter.POST("/fund/withdrawal", bkb.UserFundWithdrawal) // 营销账户提现
InRouter.POST("/fund/recharge", bkb.FundRecharge) // 营销账户充值
InRouter.GET("/fund/list", bkb.BillFundList) // 营销账户账单列表
}
}