lt hace 4 días
padre
commit
f2f36e6cd6

+ 3 - 3
RO_Server_Trunk-branch_0.1.39/roserver/gmweb/msg/web_paymsg.go

@@ -1320,10 +1320,10 @@ func webPayNotify(webNtf *WebNotifyData, payAmount float32, c *gin.Context) stri
 	}
 	if payInfo.OrderState == int32(serverproto.PayOrderState_EPayOrderState_Gen) {
 		//实际支付 == 订单的钱,否则为支付失败
-		payAmount := int32(payAmount * 10) //该渠道是以分为单位(游戏以卢布为单位)
+		//payAmount := int32(payAmount * 100) //该渠道是以分为单位(游戏以卢布为单位)
 		//服务器订单实际金额:
-		orderAmount := int32(payInfo.Amount * 1000)
-		if payAmount == orderAmount {
+		//orderAmount := int32(payInfo.Amount * 1000)
+		if payAmount == payInfo.Amount {
 			payInfo.OrderState = int32(serverproto.PayOrderState_EPayOrderState_PayOk)
 		} else {
 			payInfo.OrderState = int32(serverproto.PayOrderState_EPayOrderState_PayFailed)