by Robin at 20240626
This commit is contained in:
parent
7e8c00e926
commit
af835ff284
|
@ -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{
|
resp, err := _DefaultVas.UnilaterallyHvyogoWithdrawApply(ctx, &vasproto.UnilaterallyWithdrawApplyReq{
|
||||||
BaseRequest: req.BaseRequest,
|
BaseRequest: req.BaseRequest,
|
||||||
Diamonds: int64(distributeAmount),
|
Diamonds: diamonds,
|
||||||
}, extWithdrawFunc)
|
}, extWithdrawFunc)
|
||||||
ec, err = errs.DealVasErr(err)
|
ec, err = errs.DealVasErr(err)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue