resp.RechargeCount=db.Mysql().Count(&common.RechargeOrder{},fmt.Sprintf("uid = %v and (event = %v or event = %v)",req.UID,common.CurrencyEventReCharge,common.CurrencyEventGMRecharge))
resp.RechargeCount=db.Mysql().Count(&common.RechargeOrder{},fmt.Sprintf("uid = %v and (event = %v or event = %v or event = %v)",req.UID,common.CurrencyEventReCharge,common.CurrencyEventGMRecharge,common.CurrencyEventActivityWeekCard))
re:=&common.RechargeInfo{UID:req.UID}
err=db.Mysql().Get(re)
iferr!=nil{
log.Error(err.Error())
}
resp.RechargeTotal=re.TotalRecharge
successCount:=db.Mysql().Count(&common.RechargeOrder{},fmt.Sprintf("uid = %v and (event = %v or event = %v) and status = %v",req.UID,common.CurrencyEventReCharge,common.CurrencyEventGMRecharge,common.StatusROrderPay))
successCount:=db.Mysql().Count(&common.RechargeOrder{},fmt.Sprintf("uid = %v and (event = %v or event = %v or event = %v) and status = %v",req.UID,common.CurrencyEventReCharge,common.CurrencyEventGMRecharge,common.CurrencyEventActivityWeekCard,common.StatusROrderPay))