package admin import ( "app/commons/constant" "app/commons/services" "github.com/gin-gonic/gin" ) // 提现审核 func (s *Server) WithdrawVerify(ctx *gin.Context) { c := s.FromContext(ctx) req := new(services.TransferParam) if err := c.ShouldBindJSON(&req); err != nil { c.Resp(constant.ErrorParams) return } err := s.VerifyWithdrawApply(req) if err != nil { c.Resp(err.Error()) return } c.Resp(nil) }