hexiaojie 8 hónapja
szülő
commit
d5c47b31f4

+ 1 - 1
GameClient/Assets/WebGLTemplates/MyCustomTemplate/index.html

@@ -357,7 +357,7 @@
         console.log("调用支付:", params);
 
         const sdkParams = {
-          amount: Number(params.amount / 10), // 确保是 Number 类型
+          amount: Number(params.amount), // 确保是 Number 类型
           cpProductId: params.cpProductId,       // cpProductId → cp_product_id
           productName: params.productName,        // productName → product_name
           notifyUrl: "https://webgltest.goufuguiwxw.com/gfg/recharge/jhganmeh5",            // notifyUrl → notify_url