游戏管理->设置

master
chenxiaojun 5 years ago
parent b9a29a5032
commit 6970e36395

@ -1884,8 +1884,14 @@ class PromoteController extends BaseController
$model = new PromoteApi();
$res = $model->verify_er_User(PID, $securityCode);//验证安全密码
if ($_POST) {
$save['child_game_permission'] = I('post.child_game_permission');
if (!$res) {
$data['status'] = 0;
$data['msg'] = '权限异常';
$this->ajaxReturn($data);
}
$save['child_game_permission'] = I('post.child_game_permission');
$saveRes = D('Promote')->where(array('id' => PID))->save($save);
if ($saveRes === false) {
$data['status'] = 0;

Loading…
Cancel
Save