diff --git a/Application/Admin/Controller/ApplyController.class.php b/Application/Admin/Controller/ApplyController.class.php index 17ac0548e..b8fd8a25d 100644 --- a/Application/Admin/Controller/ApplyController.class.php +++ b/Application/Admin/Controller/ApplyController.class.php @@ -493,7 +493,7 @@ class ApplyController extends ThinkController 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); 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_launch', 'tab_')->where(['apply_id'=>$ids])->setField('launch_packge', 0); \Think\Log ::actionLog('Apply/package', 'Apply', $ids); diff --git a/Application/Admin/View/UserActionLog/operateLog.html b/Application/Admin/View/UserActionLog/operateLog.html index 93395c4e1..9d359d8f8 100644 --- a/Application/Admin/View/UserActionLog/operateLog.html +++ b/Application/Admin/View/UserActionLog/operateLog.html @@ -53,9 +53,9 @@