hch
2023-09-27 b2eec006df91590fbb7e444b27aed6e72baa627c
SdkProject/channel/hygame/java/com/secondworld/sdk/BtGamePlatform.java
@@ -37,18 +37,20 @@
    {
        GameReportHelper.onEventCreateGameRole(roleID);
    }
    //mount单位为分
    @Override
    public void PayEvent(String title, String goodsID, int mount)
    public void PayEvent(String title, String goodsID, double mount)
    {
        //内置事件 “支付”,属性:商品类型,商品名称,商品ID,商品数量,支付渠道,币种,是否成功(必传),金额(必传)
        // 付费金额单位为元
        GameReportHelper.onEventPurchase("gift", title,
                goodsID,1, "youxitu","¥", true, mount);
                goodsID,1, "youxitu","¥", true, (int)Math.ceil(mount));
    }
    @Override
    public void PrePayEvent(String title, String goodsID, int mount)
    public void PrePayEvent(String title, String goodsID, double mount)
    {
        //关键行为
        JSONObject paramsObj = new JSONObject();