by Robin at 20240626

This commit is contained in:
Leufolium 2024-06-26 13:30:32 +08:00
parent 7e8c00e926
commit af835ff284
1 changed files with 2 additions and 1 deletions

View File

@ -3474,9 +3474,10 @@ func (s *Service) ApiHvyogoSingleDistribute(ctx *gin.Context, req *hvyogoproto.A
}
// 发起单侧提现申请
diamonds := int64(float64(distributeAmount) / 10)
resp, err := _DefaultVas.UnilaterallyHvyogoWithdrawApply(ctx, &vasproto.UnilaterallyWithdrawApplyReq{
BaseRequest: req.BaseRequest,
Diamonds: int64(distributeAmount),
Diamonds: diamonds,
}, extWithdrawFunc)
ec, err = errs.DealVasErr(err)
if err != nil {