|
|
@ -493,7 +493,7 @@ class ApplyController extends ThinkController
|
|
|
|
|
|
|
|
|
|
|
|
foreach ($data as $key => $value) {
|
|
|
|
foreach ($data as $key => $value) {
|
|
|
|
|
|
|
|
|
|
|
|
addOperationLog(['op_type'=>1,'key'=>$value['game_name'].$value['promote_account'],'op_name'=>'打包游戏分包','url'=>U('Promote/lists'),'menu'=>'推广员-推广员管理-游戏分包-打包游戏分包']);
|
|
|
|
addOperationLog(['op_type'=>1,'key'=>$value['game_name'].$value['promote_account'],'op_name'=>'打包游戏分包','url'=>U('Apply/and_lists'),'menu'=>'推广员-推广员管理-游戏分包-打包游戏分包']);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -545,6 +545,15 @@ class ApplyController extends ThinkController
|
|
|
|
$this -> error("游戏原包不存在", $url);
|
|
|
|
$this -> error("游戏原包不存在", $url);
|
|
|
|
exit();
|
|
|
|
exit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$data = M('apply','tab_')->where(['id'=>['in',$ids]])->select();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach ($data as $key => $value) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addOperationLog(['op_type'=>1,'key'=>$value['game_name'].$value['promote_account'],'op_name'=>'打包游戏分包','url'=>U('Apply/and_lists'),'menu'=>'推广员-推广员管理-游戏分包-打包游戏分包']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
M('apply', 'tab_') -> where(['id' => $ids]) -> setField(['enable_status'=>2, 'pack_url'=>'', 'plist_url'=>'']);
|
|
|
|
M('apply', 'tab_') -> where(['id' => $ids]) -> setField(['enable_status'=>2, 'pack_url'=>'', 'plist_url'=>'']);
|
|
|
|
M('apply_launch', 'tab_')->where(['apply_id'=>$ids])->setField('launch_packge', 0);
|
|
|
|
M('apply_launch', 'tab_')->where(['apply_id'=>$ids])->setField('launch_packge', 0);
|
|
|
|
\Think\Log ::actionLog('Apply/package', 'Apply', $ids);
|
|
|
|
\Think\Log ::actionLog('Apply/package', 'Apply', $ids);
|
|
|
|