推广配置

master
sunke 5 years ago
commit 3bc44925cd

@ -379,6 +379,7 @@ class GameController extends ThinkController
$_POST['pay_config'] = json_encode($_POST['pay_config']); $_POST['pay_config'] = json_encode($_POST['pay_config']);
$gameService = new GameService(); $gameService = new GameService();
$_POST['download_ways'] = $gameService->getDownLoadWaysValue($downloadWays); $_POST['download_ways'] = $gameService->getDownLoadWaysValue($downloadWays);
unset($_POST['apply_auth']);
$res = $game->update(); $res = $game->update();
$id = $res["id"]; $id = $res["id"];
@ -387,6 +388,7 @@ class GameController extends ThinkController
$sid = $sibling['id']; $sid = $sibling['id'];
$map['id'] = array('neq', $sid); $map['id'] = array('neq', $sid);
$another = D("Game")->where($map)->find(); //获取另一个所有 $another = D("Game")->where($map)->find(); //获取另一个所有
$phone['apply_auth'] = $sibling['apply_auth'];
$phone['game_type_id'] = $sibling['game_type_id']; $phone['game_type_id'] = $sibling['game_type_id'];
$phone['dow_num'] = $sibling['dow_num']; $phone['dow_num'] = $sibling['dow_num'];
$phone['game_type_name'] = $sibling['game_type_name']; $phone['game_type_name'] = $sibling['game_type_name'];

Loading…
Cancel
Save