fix
This commit is contained in:
parent
8b5a5988e3
commit
82ade7e0a8
@ -66,7 +66,7 @@ async def create_pay_order(
|
|||||||
merchant_id=order.merchant_id,
|
merchant_id=order.merchant_id,
|
||||||
user_id=current_user.userid,
|
user_id=current_user.userid,
|
||||||
amount=order.amount,
|
amount=order.amount,
|
||||||
gift_points=order.amount * (merchant.pay_gift_points_rate / 100) * settings.POINT_RATIO
|
gift_points=order.amount * (float(merchant.pay_gift_points_rate) / 100) * settings.POINT_RATIO
|
||||||
)
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user