已交由其他人维护 本帖停止更新
加人气是不扣自己分的!!! 本应用支持私人定制[插件和网页都 开源在Github上 打包下载: 抵制恶意攻击,从你我做起! 如果你毫无建站基础...你可能无法成功搭建本平台... 50ZF 武林支付 ##安装方法
程序共有11个控制器,15个数据表/模型,数个视图 功能齐全,完全可以做到运营。 程序数据库表名词典
程序API接口说明
API接口状态查询接口 API名称:status 请求方式:GET/POST 请求网址:网关/status 返回例子:{"api":{"version":"1","apido":"status","status":true},"error":"0","result":{"status":true},"reason":"操作成功"} 此处极易理解,不作说明 服务器信息查询接口 API名称:s_check 请求方式:GET/POST 请求网址:网关/s_check 返回案例: {"api":{"version":"1","apido":"s_check","status":true},"error":"0","result":{"server":{"id":"3","name":"测试","ip":"111.111.11.11","info":"123","logourl":"123","wwwurl":null,"url":null,"rate":"{\"id\":\"3\",\"wechat_all\":\"100\",\"alipay_all\":\"100\",\"tencent_all\":\"100\",\"card_10\":\"100\",\"card_11\":\"100\",\"card_12\":\"100\",\"card_3\":\"100\",\"card_1\":\"100\",\"card_7\":\"100\",\"card_8\":\"100\",\"card_9\":\"100\",\"card_2\":\"100\",\"card_13\":\"100\",\"card_14\":\"100\",\"card_15\":\"100\",\"card_16\":\"100\",\"card_17\":\"100\",\"card_18\":\"100\",\"card_19\":\"100\",\"card_20\":\"100\",\"card_21\":\"100\",\"card_5\":\"100\",\"card_6\":\"100\",\"card_4\":\"100\",\"bank_all\":\"100\"}","time":"1468132042","money":"0.00"}},"reason":"操作成功"} 返回说明: server id:服务器id name:服务器名称 ip:服务器ip info:服务器说明 logourl:logo链接 wwwurl:官网链接 url:vip说明链接 rate:分成链接 此处 渠道:XXX 代表了充值比例 (分成返回中,****_all为第三方支付渠道,card_**为点卡支付渠道,) time:服务器创建时间 money:服务器历史收益 服务器玩家查询接口 API名称:s_player 请求方式:GET/POST 请求网址:网关/s_player 返回案例: {"api":{"version":"1","apido":"s_player","status":true},"error":"0","result":{"player":{"id":"5","server":"3","player":"Aili","money":"0.02","credit":"498","regtime":"1469276904","info":null}},"reason":"操作成功"} 特殊需求参数: player:玩家游戏名 返回说明: player id:武林支付内玩家序号 server:对应服务器编号 player:玩家游戏名 money:玩家历史充值金额(不含人工模拟充值) credit:点券余额 regtime:系统第一次记录时间 info:内部备注 服务器订单查询接口 API名称:s_orders 请求方式:GET/POST 请求网址:网关/s_orders 返回案例: {"api":{"version":"1","apido":"s_order","status":true},"error":"0","result":{"orders":[{"id":"194","order":"20160718235808166577","money":"0.01","paymoney":"0.01","status":"1","player":"test","username":"DDMCloud","server":"4","paytime":"1468857573","time":"1468857488","param":null,"info":"玩家test为4号服务器充值0.01元","paydata":"{\"ddmorder\":\"20160718235808101730\"}"}]},"reason":"操作成功"} 可选参数: timefrom:起始时间(默认10小时前) timeto:截止时间(默认当前) limit:是否数量限制(如果为false则默认10条) limitcount:限制数量(默认10,当limit为true时有效) 返回说明: orders id:系统内编号 order:系统订单号 money:点券金额(比例分成后) paymoney:付款金额 status:订单状态 player:玩家游戏名 username:服主账号 server:服务器编号 paytime:支付时间(Unix时间戳) time:订单创建时间(Unix时间戳) param:其他参数 info:订单信息 paydata:其他系统信息 服务器单笔订单查询接口 API名称:s_order 请求方式:GET/POST 请求网址:网关/s_order 返回案例: {"api":{"version":"1","apido":"s_order","status":true},"error":"0","result":{"order":{"id":"194","order":"20160718235808166577","money":"0.01","paymoney":"0.01","status":"1","player":"test","username":"DDMCloud","server":"4","paytime":"1468857573","time":"1468857488","param":null,"info":"玩家test为4号服务器充值0.01元","paydata":"{\"ddmorder\":\"20160718235808101730\"}"}},"reason":"操作成功"} 特殊需求参数: order:订单号 返回说明: order id:系统内部id order:系统内部订单号 money:比例化后的金钱 paymoney:支付金额 status:订单状态 player:玩家游戏名 username:服主账号 server:服务器id paytime:支付时间 time:订单创建时间 param:参数 info:订单信息 paydata:内部支付信息 点券支付接口 API名称:p_payorder 请求方式:GET/POST 请求网址:网关/p_payorder 返回案例: {"api":{"version":"1","apido":"p_payorder","status":true},"error":"0","result":{"playerorder":{"id":"173","order":"20160805200442650057","credit":"1","status":"1","player":"aili","server":"4","time":"1470398682","info":null,"paydata":null},"player":{"id":"8","server":"4","player":"aili","money":"419.03","credit":"29336","regtime":"1469445469","info":null}},"reason":"操作成功"} 特殊需求参数: player:玩家游戏名 credit:支付点券数量 返回说明: playerorder:订单 *id:订单内部ID *order:系统订单号 *credit:点券数量 *status:订单状态(1为成功) *player:玩家游戏名 *server:服务器id *time:订单时间 player:用户信息 *id:玩家内部Id *server:服务器编号 *player:玩家游戏名 *money:历史充值金额 *credit:点券金额 **regimte:第一次记录时间 API层错误对应说明
各种图片: 首页图片: 模块有很多 就不一一截图了 加人气是不扣自己分的!!! |