|
@@ -255,10 +255,10 @@ func (s *Synthesis) FindMDBUserLogDaily(req entity.UserLogDailyReq) (*entity.Use
|
|
|
func (s *Synthesis) FindWithdrawal(req entity.UserWithdrawalReq) (*entity.UserWithdrawalResp, *code.Result) {
|
|
|
page, pageSize := checkPageParam(req.Page, req.Size)
|
|
|
|
|
|
- if !constant.CurrencyValid(req.Currency) {
|
|
|
- mhayaLogger.Warnf("FindWithdrawal unknow currency:%v", req.Currency)
|
|
|
- return nil, common.NewResult(code.ParamError)
|
|
|
- }
|
|
|
+ // if !constant.CurrencyValid(req.Currency) {
|
|
|
+ // mhayaLogger.Warnf("FindWithdrawal unknow currency:%v", req.Currency)
|
|
|
+ // return nil, common.NewResult(code.ParamError)
|
|
|
+ // }
|
|
|
|
|
|
var records []*eventmodels.UserWithdrawEventContent
|
|
|
|
|
@@ -933,15 +933,15 @@ func (s *Synthesis) Assets(req entity.AssetsReq) (*entity.AssetsResp, *code.Resu
|
|
|
func (s *Synthesis) AssetsRecord(req entity.AssetsRecordReq) (*entity.AssetsRecordResp, *code.Result) {
|
|
|
page, pageSize := checkPageParam(req.Page, req.Size)
|
|
|
|
|
|
- if !constant.CurrencyValid(req.Currency) {
|
|
|
- mhayaLogger.Warnf("AssetsRecord unknow currency:%v", req.Currency)
|
|
|
- return nil, common.NewResult(code.ParamError)
|
|
|
- }
|
|
|
+ // if !constant.CurrencyValid(req.Currency) {
|
|
|
+ // mhayaLogger.Warnf("AssetsRecord unknow currency:%v", req.Currency)
|
|
|
+ // return nil, common.NewResult(code.ParamError)
|
|
|
+ // }
|
|
|
|
|
|
- if req.OperationType != string(constant.IncreaseOp) && req.OperationType != string(constant.DecreaseOp) {
|
|
|
- mhayaLogger.Warnf("AssetsRecord unknow OperationType:%v", req.OperationType)
|
|
|
- return nil, common.NewResult(code.ParamError)
|
|
|
- }
|
|
|
+ // if req.OperationType != string(constant.IncreaseOp) && req.OperationType != string(constant.DecreaseOp) {
|
|
|
+ // mhayaLogger.Warnf("AssetsRecord unknow OperationType:%v", req.OperationType)
|
|
|
+ // return nil, common.NewResult(code.ParamError)
|
|
|
+ // }
|
|
|
|
|
|
var records []*eventmodels.AssetsEventContent
|
|
|
|