Merge branch 'dev' of 47.111.118.107:wmtx/platform into release-1.0.0

master
ELF 5 years ago
commit 1fcbe2dd65

@ -2438,30 +2438,43 @@ class ExportController extends Controller
$map['fgame_name'] =$_REQUEST['game_name'];
unset($_REQUEST['fgame_name']);
}
$today=total(1);
$week=total(2);
$mounth=total(3);
$today = total(1);
$week = total(2);
$mounth = total(3);
//为数据权限添加
setPowerPromoteIds($map);
$data=$user
->field('fgame_name,fgame_id,date_format(FROM_UNIXTIME( register_time),"%Y-%m-%d") AS time, count(id) as count,
count(IF(register_time '.$today.',1,null)) as today,
count(IF(register_time '.$week.',1,null)) as week,
count(IF(register_time '.$mounth.',1,null)) as mounth')
$data = $user
->field('fgame_name,fgame_id,date_format(FROM_UNIXTIME( register_time),"%Y-%m-%d") AS time, count(id) as count')
->where($map)
->group('fgame_id')
->order('count desc,register_time')
->select();
$count=count($data);
// dd($data);
$map2 = array();
$map['fgame_id'] = array('egt', 0);
$map['puid'] = 0;
setPowerPromoteIds($map2);
$data2 = $user->field('fgame_id,count(IF(register_time ' . $today . ',1,null)) as today,
count(IF(register_time ' . $week . ',1,null)) as week,
count(IF(register_time ' . $mounth . ',1,null)) as mounth')
->where($map2)
->group('fgame_id')
->select();
$data2 = array_column($data2, null, 'fgame_id');
// dd($data2);
$count = count($data);
foreach ($data as $key => $value) {
static $i=0;
static $i = 0;
$i++;
$data[$key]['rand']=$i;
$data[$key]['rand'] = $i;
if ($data[$key]['fgame_id'] == 0) {
$data[$key]['fgame_name'] = '其他注册';
}
$data[$key]['today'] = $data2[$value['fgame_id']]['today'];
$data[$key]['week'] = $data2[$value['fgame_id']]['week'];
$data[$key]['mounth'] = $data2[$value['fgame_id']]['mounth'];
}
$total=A('Platform')->data_total($data);
if($_REQUEST['data_order']!=''){
@ -2517,26 +2530,39 @@ class ExportController extends Controller
$map['game_id'] =$_REQUEST['game_name'];
unset($_REQUEST['game_name']);
}
$map['pay_status']=1;
$today=total(1);
$week=total(2);
$mounth=total(3);
//为数据权限添加
setPowerPromoteIds($map);
$data=$spend
->field('game_name,game_id,date_format(FROM_UNIXTIME(pay_time),"%Y-%m-%d") AS time, sum(pay_amount) as count,
sum(IF(pay_time '.$today.',pay_amount,0)) as today,
sum(IF(pay_time '.$week.',pay_amount,0)) as week,
sum(IF(pay_time '.$mounth.',pay_amount,0)) as mounth')
$map['pay_status'] = 1;
$today = total(1);
$week = total(2);
$mounth = total(3);
$data = $spend
->field('game_name,game_id,date_format(FROM_UNIXTIME(pay_time),"%Y-%m-%d") AS time, sum(pay_amount) as count') ->where($map)
->where($map)
->group('game_id')
->order('count desc')
->order('count desc,pay_time')
->select();
$count=count($data);
//今日、本周、本月不随搜索条件而变动
$map2['pay_status'] = 1;
$map2['game_id'] = array('gt', 0);
setPowerPromoteIds($map2);
$data2 = $spend
->field('game_id,sum(IF(pay_time ' . $today . ',pay_amount,0)) as today,
sum(IF(pay_time ' . $week . ',pay_amount,0)) as week,
sum(IF(pay_time ' . $mounth . ',pay_amount,0)) as mounth')
->where($map2)
->group('game_id')
->select();
$data2 = array_column($data2, null, 'game_id');
$count = count($data);
foreach ($data as $key => $value) {
static $i=0;
static $i = 0;
$i++;
$data[$key]['rand']=$i;
$data[$key]['rand'] = $i;
//加入今日、本周、本月数据
$data[$key]['today'] = $data2[$value['game_id']]['today'];
$data[$key]['week'] = $data2[$value['game_id']]['week'];
$data[$key]['mounth'] = $data2[$value['game_id']]['mounth'];
}
$total=A('Platform')->data_total($data);
$this->assign('total',$total);
@ -2583,7 +2609,8 @@ class ExportController extends Controller
$page = $page ? $page : 1; //默认显示第一页数据
$arraypage=$page;
$row = 10;
$user=M('User','tab_');$map['puid'] = 0;
$user=M('User','tab_');
$map['puid'] = 0;
if(isset($_REQUEST['timestart'])&&isset($_REQUEST['timeend'])){
$map['register_time'] =array('BETWEEN',array(strtotime($_REQUEST['timestart']),strtotime($_REQUEST['timeend'])+24*60*60-1));
unset($_REQUEST['timestart']);unset($_REQUEST['timeend']);
@ -2596,26 +2623,41 @@ class ExportController extends Controller
$map['register_way'] =$_REQUEST['register_way'];
unset($_REQUEST['register_way']);
}
$today=total(1);
$week=total(2);
$mounth=total(3);
//为数据权限添加
setPowerPromoteIds($map);
$data=$user
->field('register_way,date_format(FROM_UNIXTIME(register_time),"%Y-%m-%d") AS time, count(id) as count,
count(IF(register_time '.$today.',1,null)) as today,
count(IF(register_time '.$week.',1,null)) as week,
count(IF(register_time '.$mounth.',1,null)) as mounth')
$today = total(1);
$week = total(2);
$mounth = total(3);
$data = $user
->field('register_way,date_format(FROM_UNIXTIME(register_time),"%Y-%m-%d") AS time, count(id) as count')
->where($map)
->group('register_way')
->order('count desc')
->order('count desc,register_time')
->select();
$map2 = array();
$map2['puid'] = 0;
setPowerPromoteIds($map2);
$data2 = $user
->field('register_way,
count(IF(register_time ' . $today . ',1,null)) as today,
count(IF(register_time ' . $week . ',1,null)) as week,
count(IF(register_time ' . $mounth . ',1,null)) as mounth')
->where($map2)
->group('register_way')
->select();
$count=count($data);
$data2 = array_column($data2, null, 'register_way');
$count = count($data);
foreach ($data as $key => $value) {
static $i=0;
static $i = 0;
$i++;
$data[$key]['rand']=$i;
$data[$key]['rand'] = $i;
$data[$key]['today'] = $data2[$value['register_way']]['today'];
$data[$key]['week'] = $data2[$value['register_way']]['week'];
$data[$key]['mounth'] = $data2[$value['register_way']]['mounth'];
}
$total=A('Platform')->data_total($data);
if($_REQUEST['data_order']!=''){
$data_order=reset(explode(',',$_REQUEST['data_order']));
@ -2669,27 +2711,42 @@ class ExportController extends Controller
$map['pay_way'] = array('in',$_REQUEST['pay_way']) ;
unset($_REQUEST['pay_way']);
}
$map['pay_status']=1;
$today=total(1);
$week=total(2);
$mounth=total(3);
//为数据权限添加
setPowerPromoteIds($map);
$data=$spend
->field('pay_way,date_format(FROM_UNIXTIME(pay_time),"%Y-%m-%d") AS time, sum(pay_amount) as count,
sum(IF(pay_time '.$today.',pay_amount,0)) as today,
sum(IF(pay_time '.$week.',pay_amount,0)) as week,
sum(IF(pay_time '.$mounth.',pay_amount,0)) as mounth')
$map['pay_status'] = 1;
$today = total(1);
$week = total(2);
$mounth = total(3);
$data = $spend
->field('pay_way,date_format(FROM_UNIXTIME(pay_time),"%Y-%m-%d") AS time, sum(pay_amount) as count')
->where($map)
->group('pay_way')
->order('count desc')
->order('count desc,pay_time')
->select();
$count=count($data);
$map2 = array();
$map2['pay_status'] = 1;
setPowerPromoteIds($map2);
$data2 = $spend
->field('pay_way,
sum(IF(pay_time ' . $today . ',pay_amount,0)) as today,
sum(IF(pay_time ' . $week . ',pay_amount,0)) as week,
sum(IF(pay_time ' . $mounth . ',pay_amount,0)) as mounth')
->where($map2)
->group('pay_way')
->select();
$data2 = array_column($data2, null, 'pay_way');
$count = count($data);
foreach ($data as $key => $value) {
static $i=0;
static $i = 0;
$i++;
$data[$key]['rand']=$i;
$data[$key]['rand'] = $i;
$data[$key]['today'] = $data2[$value['pay_way']]['today'];
$data[$key]['week'] = $data2[$value['pay_way']]['week'];
$data[$key]['mounth'] = $data2[$value['pay_way']]['mounth'];
}
$total = A('Platform')->data_total($data);
$this->assign('total',$total);
if($_REQUEST['data_order']!=''){

@ -298,6 +298,10 @@ class GameController extends ThinkController
$this->error('一句话简介不能超过30个字');
exit;
}
if ($_POST['beta_status'] == 1 && empty($_POST['beta_url'])) {
return $this->error("请在Beta按钮开启的情况填写Beta链接");
}
if (!empty($_POST['beta_url']) && !preg_match("/^((https|http|ftp|rtsp|mms)?:\/\/)[^\s]+/i", $_POST['beta_url'])) {
return $this->error("请填写正确的Beta链接");
}
@ -316,6 +320,7 @@ class GameController extends ThinkController
$game = D(self::model_name);//M('$this->$model_name','tab_');
$_POST['discount'] == '' ? $_POST['discount'] = 10 : $_POST['discount'];
$_POST['detail_content'] = $content;
$_POST['pay_config'] = json_encode($_POST['pay_config']);
$res = $game->update();
$id = $res["id"];
$sibling = D("Game")->find($id);
@ -371,6 +376,7 @@ class GameController extends ThinkController
} else {
$id || $this->error('id不能为空');
$data = D(self::model_name)->detailback($id);
$data['pay_config'] = json_decode($data['pay_config'],true);
$data || $this->error('数据不存在!');
if (!empty($data['and_dow_address'])) {
$data['and_dow_address'] = ltrim($data['and_dow_address'], '.');

@ -44,21 +44,32 @@ class PlatformController extends ThinkController
$map['fgame_name'] = $_REQUEST['game_name'];
unset($_REQUEST['fgame_name']);
}
//为数据权限添加
setPowerPromoteIds($map);
$today = total(1);
$week = total(2);
$mounth = total(3);
//为数据权限添加
setPowerPromoteIds($map);
$data = $user
->field('fgame_name,fgame_id,date_format(FROM_UNIXTIME( register_time),"%Y-%m-%d") AS time, count(id) as count,
count(IF(register_time ' . $today . ',1,null)) as today,
count(IF(register_time ' . $week . ',1,null)) as week,
count(IF(register_time ' . $mounth . ',1,null)) as mounth')
->field('fgame_name,fgame_id,date_format(FROM_UNIXTIME( register_time),"%Y-%m-%d") AS time, count(id) as count')
->where($map)
->group('fgame_id')
->order('count desc,register_time')
->select();
// dd($data);
$map2 = array();
$map['fgame_id'] = array('egt', 0);
$map['puid'] = 0;
setPowerPromoteIds($map2);
$data2 = $user->field('fgame_id,count(IF(register_time ' . $today . ',1,null)) as today,
count(IF(register_time ' . $week . ',1,null)) as week,
count(IF(register_time ' . $mounth . ',1,null)) as mounth')
->where($map2)
->group('fgame_id')
->select();
$data2 = array_column($data2, null, 'fgame_id');
// dd($data2);
$count = count($data);
foreach ($data as $key => $value) {
static $i = 0;
@ -68,6 +79,9 @@ class PlatformController extends ThinkController
if ($data[$key]['fgame_id'] == 0) {
$data[$key]['fgame_name'] = '其他注册';
}
$data[$key]['today'] = $data2[$value['fgame_id']]['today'];
$data[$key]['week'] = $data2[$value['fgame_id']]['week'];
$data[$key]['mounth'] = $data2[$value['fgame_id']]['mounth'];
}
$total = $this->data_total($data);
@ -110,8 +124,6 @@ class PlatformController extends ThinkController
$spend = M('Spend', 'tab_');
$deposit = M('Deposit', "tab_");
$map['game_id'] = array('gt', 0);
if (!empty($_REQUEST['timestart']) && !empty($_REQUEST['timeend'])) {
$map['pay_time'] = ['between', array(strtotime($_REQUEST['timestart']), strtotime($_REQUEST['timeend']) + 86399)];
unset($_REQUEST['timestart']);
@ -132,24 +144,40 @@ class PlatformController extends ThinkController
$map['game_id'] = $_REQUEST['game_name'];
unset($_REQUEST['game_name']);
}
$map['game_id'] = array('gt', 0);
$map['pay_status'] = 1;
$today = total(1);
$week = total(2);
$mounth = total(3);
$data = $spend
->field('game_name,game_id,date_format(FROM_UNIXTIME(pay_time),"%Y-%m-%d") AS time, sum(pay_amount) as count,
sum(IF(pay_time ' . $today . ',pay_amount,0)) as today,
sum(IF(pay_time ' . $week . ',pay_amount,0)) as week,
sum(IF(pay_time ' . $mounth . ',pay_amount,0)) as mounth')
->field('game_name,game_id,date_format(FROM_UNIXTIME(pay_time),"%Y-%m-%d") AS time, sum(pay_amount) as count') ->where($map)
->where($map)
->group('game_id')
->order('count desc,pay_time')
->select();
//今日、本周、本月不随搜索条件而变动
$map2['pay_status'] = 1;
$map2['game_id'] = array('gt', 0);
setPowerPromoteIds($map2);
$data2 = $spend
->field('game_id,sum(IF(pay_time ' . $today . ',pay_amount,0)) as today,
sum(IF(pay_time ' . $week . ',pay_amount,0)) as week,
sum(IF(pay_time ' . $mounth . ',pay_amount,0)) as mounth')
->where($map2)
->group('game_id')
->select();
$data2 = array_column($data2, null, 'game_id');
$count = count($data);
foreach ($data as $key => $value) {
static $i = 0;
$i++;
$data[$key]['rand'] = $i;
//加入今日、本周、本月数据
$data[$key]['today'] = $data2[$value['game_id']]['today'];
$data[$key]['week'] = $data2[$value['game_id']]['week'];
$data[$key]['mounth'] = $data2[$value['game_id']]['mounth'];
}
$total = $this->data_total($data);
$this->assign('total', $total);
@ -219,20 +247,34 @@ class PlatformController extends ThinkController
$week = total(2);
$mounth = total(3);
$data = $user
->field('register_way,date_format(FROM_UNIXTIME(register_time),"%Y-%m-%d") AS time, count(id) as count,
count(IF(register_time ' . $today . ',1,null)) as today,
count(IF(register_time ' . $week . ',1,null)) as week,
count(IF(register_time ' . $mounth . ',1,null)) as mounth')
->field('register_way,date_format(FROM_UNIXTIME(register_time),"%Y-%m-%d") AS time, count(id) as count')
->where($map)
->group('register_way')
->order('count desc,register_time')
->select();
$map2 = array();
$map2['puid'] = 0;
setPowerPromoteIds($map2);
$data2 = $user
->field('register_way,
count(IF(register_time ' . $today . ',1,null)) as today,
count(IF(register_time ' . $week . ',1,null)) as week,
count(IF(register_time ' . $mounth . ',1,null)) as mounth')
->where($map2)
->group('register_way')
->select();
$data2 = array_column($data2, null, 'register_way');
$count = count($data);
foreach ($data as $key => $value) {
static $i = 0;
$i++;
$data[$key]['rand'] = $i;
$data[$key]['today'] = $data2[$value['register_way']]['today'];
$data[$key]['week'] = $data2[$value['register_way']]['week'];
$data[$key]['mounth'] = $data2[$value['register_way']]['mounth'];
}
$total = $this->data_total($data);
if ($_REQUEST['data_order'] != '') {
$data_order = reset(explode(',', $_REQUEST['data_order']));
@ -302,20 +344,35 @@ class PlatformController extends ThinkController
$week = total(2);
$mounth = total(3);
$data = $spend
->field('pay_way,date_format(FROM_UNIXTIME(pay_time),"%Y-%m-%d") AS time, sum(pay_amount) as count,
->field('pay_way,date_format(FROM_UNIXTIME(pay_time),"%Y-%m-%d") AS time, sum(pay_amount) as count')
->where($map)
->group('pay_way')
->order('count desc,pay_time')
->select();
$map2 = array();
$map2['pay_status'] = 1;
setPowerPromoteIds($map2);
$data2 = $spend
->field('pay_way,
sum(IF(pay_time ' . $today . ',pay_amount,0)) as today,
sum(IF(pay_time ' . $week . ',pay_amount,0)) as week,
sum(IF(pay_time ' . $mounth . ',pay_amount,0)) as mounth')
->where($map)
->where($map2)
->group('pay_way')
->order('count desc,pay_time')
->select();
$data2 = array_column($data2, null, 'pay_way');
$count = count($data);
foreach ($data as $key => $value) {
static $i = 0;
$i++;
$data[$key]['rand'] = $i;
$data[$key]['today'] = $data2[$value['pay_way']]['today'];
$data[$key]['week'] = $data2[$value['pay_way']]['week'];
$data[$key]['mounth'] = $data2[$value['pay_way']]['mounth'];
}
$total = $this->data_total($data);
$this->assign('total', $total);
if ($_REQUEST['data_order'] != '') {

@ -64,7 +64,8 @@ class RechargeSumController extends ThinkController
//当天注册人数
$registerNum = D('User')->where(array_merge($rmap, array('puid' => 0)))->join("tab_user_play on tab_user.id = tab_user_play.user_id and tab_user.fgame_id = tab_user_play.game_id", 'left')->field("tab_user.id")->select();
$registerNum = $registerNum ? array_column($registerNum, 'id') : [];
// if ($key ==2)
// dd(D('User')->_sql());
//当天活跃人数
$livenNum = D('UserPlay')->where($map)->count("id");

@ -220,7 +220,7 @@
<tr class="picbox">
<td class="l noticeinfo" >游戏ICON</td>
<td class="r">
<!-- <span class="table_btn table_upload">
<!-- <span class="table_btn table_upload">
<input type="file" id="upload_picture_icon">
<input type="hidden" name="icon" id="cover_id_icon" value="" />
<div class="upload-img-box">
@ -228,7 +228,7 @@
<div class="upload-pre-item"><img src=""/></div>
</notempty>
</div>
</span>-->
</span>-->
<span class="table_btn table_upload table_icon" style="float: none;">
<input type="hidden" name="icon" value="{$data['icon']}" />
<div id="uploadImg" class="wu-example">
@ -249,7 +249,7 @@
<tr class="picbox">
<td class="l noticeinfo">游戏素材包</td>
<td class="r">
<span class="table_btn table_upload">
<span class="table_btn table_upload">
<div id="uploader" class="wu-example">
<div class="btns">
<div id="picker" style="height:30px;">上传素材包</div>
@ -259,7 +259,7 @@
</div>
</div>
<input type="hidden" id="file_url" name="material_url" value="{$data['material_url']}"/>
</span>
</span>
<span class="notice-text">此处可上传该游戏的素材包,必须为压缩包形式,用于渠道后台下载推广</span>
</td>
@ -267,7 +267,7 @@
<tr class="picbox">
<td class="l noticeinfo">游戏推荐图</td>
<td class="r">
<!-- <span class="table_btn table_upload">
<!-- <span class="table_btn table_upload">
<input type="file" id="upload_picture_cover">
<input type="hidden" name="cover" id="cover_id_cover" value="" />
<div class="upload-img-box">
@ -275,7 +275,7 @@
<div class="upload-pre-item"><img src=""/></div>
</notempty>
</div>
</span>-->
</span>-->
<span class="table_btn table_upload table_cover" style="float: none;">
<input type="hidden" name="cover" value="{$data['cover']}" />
<div id="uploadImg" class="wu-example">
@ -296,7 +296,7 @@
<tr class="picbox">
<td class="l noticeinfo" >游戏截图</td>
<td class="r">
<!-- <span class="table_btn table_upload table_screenshot" style="float: none;">
<!-- <span class="table_btn table_upload table_screenshot" style="float: none;">
{:hook('UploadImages', array('name'=>'screenshot','value'=>$data['screenshot'],'flag'=>true))}
</span>-->
<span class="table_btn table_upload table_screenshot" style="float: none;">
@ -407,18 +407,18 @@
</tr>
<tr>
<td class="l">超级签Token</td>
<td class="r" >
<input type="text" class="txt " name="supersign_token" value="" placeholder="请输入超级签Token" >
</td>
</tr>
<tr>
<td class="l">超级签URL</td>
<td class="r" >
<input type="text" class="txt " name="supersign_url" value="" placeholder="请输入超级签URL" >
</td>
</tr>
<tr>
<td class="l">超级签Token</td>
<td class="r" >
<input type="text" class="txt " name="supersign_token" value="" placeholder="请输入超级签Token" >
</td>
</tr>
<tr>
<td class="l">超级签URL</td>
<td class="r" >
<input type="text" class="txt " name="supersign_url" value="" placeholder="请输入超级签URL" >
</td>
</tr>
</tbody>
</table>
</div>
@ -490,6 +490,39 @@
<!-- <span class="notice-text" style="line-height:1.4;width:68%;">ios版游戏内的支付方式二选一默认是第三方支付。上架版选择第三方支付则为wap支付选择苹果内购则为苹果内购非上架版选择第三方支付则为wap支付选择苹果内购则为app支付。金猪支付下支付宝始终是app支付订单充值方式记录为支付宝其它皆为wap支付订单充值方式记录为金猪支付</span> -->
</td>
</tr>
<tr>
<td class="l noticeinfo">支付宝</td>
<td class="r table_radio">
<span class="form_select">
<select name="pay_config[zfb]">
<option value="gf" >官方</option>
<option value="sq" >双乾</option>
</select>
</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">微信</td>
<td class="r table_radio">
<span class="form_select">
<select name="pay_config[wx]">
<option value="gf" selected="selected">官方</option>
</select>
</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">快捷支付</td>
<td class="r table_radio">
<span class="form_select">
<select name="pay_config[quick]">
<option value="sq" selected="selected">双乾</option>
</select>
</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">是否开启强更</td>
<td class="r table_radio table_radio2">
@ -612,7 +645,7 @@
分享图标
</td>
<td class="r" >
<span class="table_btn table_upload">
<span class="table_btn table_upload">
<input type="file" id="upload_dow_icon">
<input type="hidden" name="dow_icon" id="dow_id_icon" value="" />
<div class="upload-img-box">
@ -620,7 +653,7 @@
<div class="upload-pre-item"><img src=""/></div>
</notempty>
</div>
</span>
</span>
<span class="notice-text">512*512px</span>
</td>
</tr>
@ -629,7 +662,7 @@
分享背景图片
</td>
<td class="r" >
<span class="table_btn table_upload">
<span class="table_btn table_upload">
<input type="file" id="upload_picture_share">
<input type="hidden" name="back_map" id="cover_share_game_cover" value="" />
<div class="upload-img-box">
@ -637,7 +670,7 @@
<div class="upload-pre-item"><img src=""/></div>
</notempty>
</div>
</span>
</span>
<span class="notice-text">720*1280px及以上</span>
</td>
</tr>

@ -226,17 +226,17 @@
<tr class="picbox">
<td class="l noticeinfo" >游戏ICON</td>
<td class="r">
<!-- <span class="table_btn table_upload">
<!-- <span class="table_btn table_upload">
<input type="file" id="upload_picture_icon">
<input type="hidden" name="icon" id="cover_id_icon" value="{$data.icon}" />
<div class="upload-img-box">
<notempty name="data['icon']">
<div class="upload-pre-item">
<span class="placeholder-graphic placeholder-graphic_icon"><img src="{$data['icon']|get_cover='path'}"/></span>
</div>
<span class="placeholder-graphic placeholder-graphic_icon"><img src="{$data['icon']|get_cover='path'}"/></span>
</div>
</notempty>
</div>
</span>-->
</span>-->
<span class="table_btn table_upload table_icon" style="float: none;">
<input type="hidden" name="icon" value="{$data['icon']}" />
<div id="uploadImg" class="wu-example">
@ -257,7 +257,7 @@
<tr class="picbox">
<td class="l noticeinfo">游戏素材包</td>
<td class="r">
<span class="table_btn table_upload">
<span class="table_btn table_upload">
<div id="uploader" class="wu-example">
<div class="btns">
<div id="picker" style="width: auto;float: left;margin-right: 20px;">上传素材包</div>
@ -276,21 +276,21 @@
</div>
</div>
<input type="hidden" id="file_url" name="material_url" value="{$data['material_url']}"/>
</span>
</span>
<span class="notice-text">此处可上传该游戏的素材包,必须为压缩包形式,用于渠道后台下载推广</span>
</td>
</tr>
<tr class="picbox">
<td class="l noticeinfo">游戏推荐图</td>
<td class="r">
<span class="table_btn table_upload">
<span class="table_btn table_upload">
<!-- <input type="file" id="upload_picture_cover">
<input type="hidden" name="cover" id="cover_id_cover" value="{$data.cover}" />
<div class="upload-img-box">
<notempty name="data['cover']">
<div class="upload-pre-item">
<span class="placeholder-graphic placeholder-graphic_ad"><img src="{$data['cover']|get_cover='path'}"/></span>
</div>
<span class="placeholder-graphic placeholder-graphic_ad"><img src="{$data['cover']|get_cover='path'}"/></span>
</div>
</notempty>-->
<span class="table_btn table_upload table_cover" style="float: none;">
@ -308,7 +308,7 @@
</div>
</span>
</div>
</span>
</span>
<span class="notice-text">470*350px用于官网首屏推荐游戏位展示</span>
</td>
</tr>
@ -359,7 +359,7 @@
<tr class="picbox">
<td class="l noticeinfo">落地页视频</td>
<td class="r">
<span class="table_btn table_upload">
<span class="table_btn table_upload">
<div id="uploaderVideo" class="wu-example">
<div class="btns">
<div id="pickerVideo" style="width: auto;float: left;margin-right: 20px;">上传视频</div>
@ -379,7 +379,7 @@
</div>
</div>
<input type="hidden" id="video_url" name="flooring_page_video" value="{$data['flooring_page_video']}"/>
</span>
</span>
<span class="notice-text">视频大小不能超过20M支持格式mp4,3gp,wmv,asf,asx,mov,m4v,avi,flv,qlv</span>
</td>
</tr>
@ -554,18 +554,18 @@
<td class="r"><input type="text" class="txt2" id="game_address_size" value="{$data['game_address_size']}" name="game_address_size" placeholder="请输入第三方原包大小"> </td>
</tr>
<tr>
<td class="l">超级签Token</td>
<td class="r" >
<input type="text" class="txt " name="supersign_token" value="{$data['supersign_token']}" placeholder="请输入超级签Token" >
</td>
</tr>
<tr>
<td class="l">超级签URL</td>
<td class="r" >
<input type="text" class="txt " name="supersign_url" value="{$data['supersign_url']}" placeholder="请输入超级签URL" >
</td>
</tr>
<tr>
<td class="l">超级签Token</td>
<td class="r" >
<input type="text" class="txt " name="supersign_token" value="{$data['supersign_token']}" placeholder="请输入超级签Token" >
</td>
</tr>
<tr>
<td class="l">超级签URL</td>
<td class="r" >
<input type="text" class="txt " name="supersign_url" value="{$data['supersign_url']}" placeholder="请输入超级签URL" >
</td>
</tr>
<tr>
<td class="l">超级签状态:</td>
@ -663,6 +663,39 @@
<!-- <span class="notice-text" style="line-height:1.4;width:68%;">ios版游戏内的支付方式二选一默认是第三方支付。上架版选择第三方支付则为wap支付选择苹果内购则为苹果内购非上架版选择第三方支付则为wap支付选择苹果内购则为app支付。金猪支付下支付宝始终是app支付订单充值方式记录为支付宝其它皆为wap支付订单充值方式记录为金猪支付</span> -->
</td>
</tr>
<tr>
<td class="l noticeinfo">支付宝</td>
<td class="r table_radio">
<span class="form_select">
<select name="pay_config[zfb]">
<option value="gf" <?php echo $data['pay_config']['zfb'] == 'gf' ? "selected" : ''; ?>>官方</option>
<option value="sq" <?php echo $data['pay_config']['zfb'] == 'sq' ? "selected" : ''; ?>>双乾</option>
</select>
</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">微信</td>
<td class="r table_radio">
<span class="form_select">
<select name="pay_config[wx]">
<option value="gf" selected="selected">官方</option>
</select>
</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">快捷支付</td>
<td class="r table_radio">
<span class="form_select">
<select name="pay_config[quick]">
<option value="sq" selected="selected">双乾</option>
</select>
</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">是否开启强更</td>
<td class="r table_radio table_radio2">
@ -786,7 +819,7 @@
分享游戏图标
</td>
<td class="r">
<span class="table_btn table_upload">
<span class="table_btn table_upload">
<input type="file" id="upload_dow_icon">
<input type="hidden" name="dow_icon" id="dow_id_icon" value="{$data.dow_icon}" />
<div class="upload-img-box">
@ -794,7 +827,7 @@
<div class="upload-pre-item"><img src="{$data['dow_icon']|get_cover='path'}"/></div>
</notempty>
</div>
</span>
</span>
<span class="notice-text">512*512px</span>
</td>
</tr>
@ -806,7 +839,7 @@
分享背景图片
</td>
<td class="r">
<span class="table_btn table_upload">
<span class="table_btn table_upload">
<input type="file" id="upload_dow_detail">
<input type="hidden" name="back_map" id="back_map_detail" value="{$data.back_map}" />
<div class="upload-img-box">

@ -911,4 +911,8 @@ CREATE TABLE `tab_repair_pay` (
ALTER TABLE `tab_game`
ADD COLUMN `beta_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Beta版状态';
ALTER TABLE `tab_game`
ADD COLUMN `beta_url` varchar(150) NOT NULL DEFAULT '' COMMENT 'Beta链接';
ADD COLUMN `beta_url` varchar(150) NOT NULL DEFAULT '' COMMENT 'Beta链接';
-- 游戏支付方式渠道配置
ALTER TABLE `tab_game`
ADD COLUMN `pay_config` varchar(255) NOT NULL COMMENT '支付渠道 wx 微信 zfb 支付宝 quick 快捷 (gf 官方 sq 双乾';
Loading…
Cancel
Save