【173免费下载论坛】

 找回密码
 注册

[雷霆传奇H5] 雷霆传奇H5 对接内充 +对接文件下载

[复制链接]
123456806  发表于 2024-9-27 06:20:11 | 显示全部楼层 |阅读模式

点击对接平台 支付宝微信 paypal.jpg PayPal

把cpdd文件夹丢到网站根目录,修改\cpdd\lib\epay.config.php里面的商户ID和商户密钥
修改\cpdd\epayapi.php里面的同步地址和异步地址为你的网址
文件\cpdd\notify_url.php里面为业务逻辑和游戏比例,如有变动,请自行修改
支付平台地址:https://cpdd.net
支付结算方式:T+1
平台客服QQ:504825000[免费对接各种游戏/论坛/平台]

雷霆对接说明:
找到main.min.js内查找接口并替换成
e.prototype.showReCharge = function (t) {
                if(OpenSystem.ins().checkSysOpen(SystemType.FIRSTCHARGE)){
                         amount =GlobalConfig.RechargeItemsConfig[t].cash;               
                        var isDialogExist = document.getElementById('dialog')                       
                        if(isDialogExist){
                                isDialogExist.remove()
                        }
               
                        document.createElement('div');
                        var dialog = document.createElement('div');  
                        var iframe = document.createElement('iframe');  
                        var closeBtn = document.createElement('span');  
                        iframe.setAttribute('src', "cpdd/?shopname=" + t + "&price=" + amount + "&name="  + Actor.myName + "&username=" + Actor.actorID + "&serverid=" + LocationProperty.srvid + "&acc=" + LocationProperty.openID)
       
       
                        closeBtn.style.position = 'absolute';
                        closeBtn.style.right = '7%';
                        closeBtn.style.top = '4%';
                        closeBtn.innerHTML = '关闭';
                       
                        closeBtn.onclick = function(){
                                dialog.style.display = 'none'
                        }
                       
                        iframe.style.width = '100%';
                        iframe.style.height = '100%';
               
                        dialog.setAttribute('id', 'dialog')
                        dialog.appendChild(iframe)
                        dialog.appendChild(closeBtn)
               
                        dialog.style.position = 'absolute';
                        dialog.style.top = '5%';
                        dialog.style.left = '5%';
                        dialog.style.right = 0;
                        dialog.style.bottom = 0;
                        dialog.style.width = '90%';
                        dialog.style.height = '90%';
                        dialog.style.zIndex = '1000';
                        document.getElementsByTagName('body')[0].appendChild(dialog)
                       
                       
                        void(
                                window.showRecharge
                                ? window.showRecharge(t, Actor.actorID, {
                                        actorName: Actor.myName,
                                        actorLevel: Actor.level
                                })
                                : (
                                        alert("未接入支付接口"),
                                        ViewManager.ins().close(WarnWin)
                                )
                        )
                } else {
                        void UserTips.ins().showTips("充值已屏蔽")
                }
        },
雷霆暗殿对接说明:
搜索e.prototype.showReCharge这段
找到这里替换从var r---到---a.rmb;这结束
var r = "/cpdd/?price=" + t.amount + "&name="  + Actor.myName + "&username=" + Actor.actorID + "&serverid=" + LocationProperty.srvid + "&acc=" + LocationProperty.openID;

雷霆皇朝对接说明:
找到index.html文件,直接替换或者查找到function windowsplay(payid, money, names, actor, srvid, users, srvme) 这段代码,整段script替换为下面这段
<script>
        function windowsplay(payid, money, names, actor, srvid, users, srvme) {
        var url = "/cpdd/?shopname="+payid+"&price="+money+"&username="+actor+"&serverid="+srvid+"&name="+names+"&acc="+users+"&srvname="+srvme;
        window.open(url);
        }
        function pay_coos() {
                $(".play_box_cc").slideUp();
                setTimeout(function() {
                        $(".play_box").hide();
                }, 650)
        }                       
        function GameuserHDback(names,actor,srvid,users,srvme){                            
        }
</script>
文件名称:lth5.zip 
下载次数:2  文件大小:15.26 KB 
下载权限: 不限 以上或   [解压密码]    
安全检测,请放心下载


声明

1.本站资源来源于网络,本站不研究无任何技术支持!仅供自行学习交流之用,请勿用于商业用途!

2.一切网民在进入酷游主页及各层页面时已经仔细看过并完全同意本站站务区内发布的免责声明

3.本站内容如若侵犯到您的权益,请通过邮件联系方式联系我们,我们会尽快处理!youxi#111.com(#换@)

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|【173免费下载论坛】 ( 桂ICP备2022010778号-6 )

GMT+8, 2025-8-13 16:23 , Processed in 0.094536 second(s), 30 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2012 Comsenz Inc. Template by 600xin

返回顶部