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.3 KiB

package influencer
import (
"pure/api/influencer"
"github.com/gin-gonic/gin"
)
func InitInfluencerWalletRouter(Router *gin.RouterGroup) {
InRouter := Router.Group("wallet")
{
InRouter.GET("detail", influencer.GetUserWalletDetail) //账户信息
InRouter.GET("accountList", influencer.GetUserAccountList) //提现账户列表
//InRouter.GET("account") //提现账户详情
InRouter.GET("bill/data", influencer.GetUserBillData) // 对账中心数据
InRouter.PUT("detail") //修改账户信息
InRouter.POST("account", influencer.AddUserAccount) //提现账户添加(需验证码)
InRouter.PUT("account/default", influencer.UpdateAccountIsDefault) // 设置默认账户
InRouter.DELETE("account", influencer.DeleteUserAccount) //提现账户删除(需验证码)
InRouter.GET("bill-list", influencer.GetBillList) // 获取账单列表
InRouter.GET("bill-notify", influencer.GetBillNotifyList) // 获取账单通知列表
InRouter.GET("withdrawal", influencer.GetWithdrawal) // 获取提现详情
InRouter.GET("withdrawal-list", influencer.GetWithdrawalList) // 获取提现列表
InRouter.POST("withdrawal", influencer.UserWithdrawal) // 提交提现申请
}
}