Merge branch 'release-1.0.0'

master
ELF 5 years ago
commit 56d261288d

@ -77,9 +77,9 @@ class PlayersController extends BaseController {
$rs[$key]['extend'] = encryption($v['extend']);
$rs[$key]['create_time'] = date('Y-m-d H:i:s',$v['create_time']);
$promoteInfo = M('promote','tab_')->field("account")->where(['id' => intval($v['promote_id'])])->find();
$serverId = $v['server_id'];
$serverId1 = $v['server_id'];
$gameId = $v['game_id'];
$serverInfo = M('server','tab_')->field('server_name')->where(['server_num'=>$serverId,'game_id'=>$gameId])->find();
$serverInfo = M('server','tab_')->field('server_name')->where(['server_num'=>$serverId1,'game_id'=>$gameId])->find();
$rs[$key]['server_name'] = $serverInfo['server_name'];
$rs[$key]['promote_id']= $promoteInfo['account'];
}

@ -43,7 +43,7 @@ $(function() {
var apitype = $("#apitype").val();
if (apitype == 'weixin') {
var loading = new Cute.ui.dialog().loading('加载中...',{mask:true});
Cute.api.post("/media.php/Recharge/beginPay",that.serialize(), function(json){
Cute.api.post("/media.php?s=/Recharge/beginPay",that.serialize(), function(json){
loading.close();
if(json.status > 0){

Loading…
Cancel
Save