| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- package controller
- import (
- "net/http"
- "bet24.com/log"
- "bet24.com/servers/adminserver/dao"
- "github.com/gin-gonic/gin"
- )
- // 提现日志
- func WithdrawLog(c *gin.Context) {
- obj := dao.NewWithdrawLog()
- if err := c.ShouldBind(&obj.In); err != nil {
- log.Debug("%s shouldBind err %v", "WithdrawLog", err)
- return
- }
- obj.DoAction(nil)
- c.JSON(http.StatusOK, obj.Out)
- return
- }
- // 提现统计
- func WithdrawStatList(c *gin.Context) {
- obj := dao.NewWithdrawStatList()
- if err := c.ShouldBind(&obj.In); err != nil {
- log.Debug("%s shouldBind err %v", "WithdrawStatList", err)
- return
- }
- obj.DoAction(nil)
- c.JSON(http.StatusOK, obj.Out)
- return
- }
- // 提现排行
- func WithdrawRank(c *gin.Context) {
- obj := dao.NewWithdrawRank()
- if err := c.ShouldBind(&obj.In); err != nil {
- log.Debug("%s shouldBind err %v", "WithdrawRank", err)
- return
- }
- obj.DoAction(nil)
- c.JSON(http.StatusOK, obj.Out)
- return
- }
- // 提现审核列表
- func WithdrawAuditList(c *gin.Context) {
- obj := dao.NewWithdrawAuditList()
- if err := c.ShouldBind(&obj.In); err != nil {
- log.Debug("%s shouldBind err %v", "WithdrawAuditList", err)
- return
- }
- obj.DoAction(nil)
- c.JSON(http.StatusOK, obj.Out)
- return
- }
- // 提现日志
- func WithdrawFlashLog(c *gin.Context) {
- obj := dao.NewWithdrawFlashLog()
- if err := c.ShouldBind(&obj.In); err != nil {
- log.Debug("%s shouldBind err %v", "WithdrawFlashLog", err)
- return
- }
- obj.DoAction(nil)
- c.JSON(http.StatusOK, obj.Out)
- return
- }
|