e.prototype.showReCharge = function (t) { return OpenSystem.ins().checkSysOpen(SystemType.FIRSTCHARGE) ? (window.open("/pay/sen1.php?xh=" + t + "&ID=" + Actor.myName + "&actorid=" + Actor.actorID + "&qf=" + LocationProperty.srvid + "&username=" + LocationProperty.openID, function () {}, this), void(window.showRecharge ? window.showRecharge(t, Actor.actorID, { actorName: Actor.myName, actorLevel: Actor.level }) : (alert("未接入支付接口"), ViewManager.ins().close(WarnWin)))) : void UserTips.ins().showTips("充值已屏蔽") }
<?php /** *--------------------------www.wudiliu.com---------------------------- */ //修改商户信息 $U_ID = '10xxx';***//修改商户ID $payurl = 'http://www.wudiliu.com/?gateway.pay.getQRCode';//商户后台充值连接 $targetUrl = 'http://你的IP/pay/success.php';//***异步回调通知地址,在支付完成时,本平台服务器系统会自动向该地址发起一条支付成功的回调请求 $successUrl = 'http://你的IP/'; //***支付成功后跳转地址,payType为2时必填 (建议带上您自己的辨识参数,例如:orderId=12312) $userKey='A25xxxxxxCE84A';//***修改ukey (猎人支付平台"我的密匙"页面查看,若更换应及时更改此处) $bili = '100';//***比例 //服务器设置 //数据库 $db_host='127.0.0.1'; $db_username='root';//***数据库帐号 $db_password='root';//***数据库密码 //===============游戏分区================================= $db = array( 1=>"actor", //一区 注意:有些服使用的是 actor1 2=>"actor2", //二区 3=>"actor3", //三区 4=>"actor4", //四区 5=>"actor5", //五区 6=>"actor6", //六区 7=>"actor7", //七区 8=>"actor8", //八区 9=>"actor9", //九区 10=>"actor10", //十区 11=>"actor11", //十一区 12=>"actor12", //十二区 ); //***充值礼包配置-对应游戏内充值套餐金额 $libaoconfig = array( '1' => 10,// '2' => 20, '3' => 50, '4' => 100, '5' => 200, '6' => 500, '7' => 1000, '8' => 1500, '9' => 2000, '10' => 3000, '1000'=>28, '1001'=>88 ); ?>
© 版权声明
THE END
喜欢就支持一下吧
相关推荐
暂无评论内容