|
|
|
@ -298,6 +298,9 @@ class GameController extends ThinkController
|
|
|
|
|
$this->error('一句话简介不能超过30个字!');
|
|
|
|
|
exit;
|
|
|
|
|
}
|
|
|
|
|
if (!preg_match("/^((https|http|ftp|rtsp|mms)?:\/\/)[^\s]+/i", $_POST['beta_url'])) {
|
|
|
|
|
return $this->error("请填写正确的Bata链接");
|
|
|
|
|
}
|
|
|
|
|
/*if($_POST['apply_status']==0&&$_POST['game_status']==1){
|
|
|
|
|
$this->error('游戏未审核不允许显示');//游戏添加完成
|
|
|
|
|
}*/
|
|
|
|
@ -349,6 +352,8 @@ class GameController extends ThinkController
|
|
|
|
|
$phone['flooring_page_video'] = $sibling['flooring_page_video'];
|
|
|
|
|
$phone['flooring_page_video_cover'] = $sibling['flooring_page_video_cover'];
|
|
|
|
|
$phone['supersign_status'] = $sibling['supersign_status'];
|
|
|
|
|
$phone['beta_url'] = $_POST['beta_url'];
|
|
|
|
|
$phone['beta_status'] = $_POST['beta_status'];
|
|
|
|
|
M('Game', 'tab_')->data($phone)->where(array('id' => $another['id']))->save();
|
|
|
|
|
//同时修改代充游戏折扣
|
|
|
|
|
$set_fidel['status'] = 1;
|
|
|
|
|