|
|
|
@ -64,11 +64,11 @@ class PromoteController extends BaseController
|
|
|
|
|
$gg_list = M("document", "sys_")->limit('0,5')->where("category_id=56 and status=1")->order("update_time desc")->select(); //游戏公告
|
|
|
|
|
$zx_list = M("document", "sys_")->limit('0,5')->where("category_id=51 and status=1")->order("update_time desc")->select(); //游戏咨询
|
|
|
|
|
|
|
|
|
|
$promote_id = get_pid();
|
|
|
|
|
$field = 'id,game_name,server_name,user_account,nickname,promote_account,detail,create_time as update_time';
|
|
|
|
|
$rz_list = M("protect_log","tab_")->field($field)->limit('0,5')->order("create_time desc")->select(); //日志管理
|
|
|
|
|
$rz_list = M("protect_log","tab_")->field($field)->where("promote_id = {$promote_id}")->limit('0,5')->order("create_time desc")->select(); //日志管理
|
|
|
|
|
|
|
|
|
|
$promote_id = get_pid();
|
|
|
|
|
$logCount = M('protect_log','tab_')->count();
|
|
|
|
|
$logCount = M('protect_log','tab_')->where("promote_id = {$promote_id}")->count();
|
|
|
|
|
$readLogCount = M('protect_log_read','tab_')->where("promote_id = {$promote_id}")->count();
|
|
|
|
|
|
|
|
|
|
$gg_data = M("document", "sys_")->where("category_id=56 and status=1")->order("update_time desc")->select();
|
|
|
|
|