Commit 679f431c authored by 734642908@qq.com's avatar 734642908@qq.com

修改游戏主题列表状态问题

parent 80c2c7ab
...@@ -9,7 +9,7 @@ use Home\Utils\LogUtil; ...@@ -9,7 +9,7 @@ use Home\Utils\LogUtil;
* 2、错误信息展示页面 * 2、错误信息展示页面
*/ */
class BaseController extends Controller { class BaseController extends Controller {
const PROJECT_NAME ="game"; const PROJECT_NAME ="ylc.llewan.com";
//任务数据列表 //任务数据列表
public $taskList = array( public $taskList = array(
......
...@@ -163,7 +163,7 @@ class GameController extends BaseController ...@@ -163,7 +163,7 @@ class GameController extends BaseController
public function themeList() public function themeList()
{ {
$gameTheme = M("yl_game_theme","",C("LEWAN_HEZI"))->where(array('stauts'=>1))->field('sysid as id,name,game_list')->order('sort desc')->select(); $gameTheme = M("yl_game_theme","",C("LEWAN_HEZI"))->where(array('status'=>1))->field('sysid as id,name,game_list')->order('sort desc')->select();
if(!empty($gameTheme)) { if(!empty($gameTheme)) {
$gameField = 'sysid as id,name,icon,appid,gourl'; $gameField = 'sysid as id,name,icon,appid,gourl';
foreach($gameTheme as $key=>$val) { foreach($gameTheme as $key=>$val) {
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
namespace Home\Utils; namespace Home\Utils;
class LogUtil{ class LogUtil{
const LOG_DIR = '/opt/logs/game.llewan.com'; const LOG_DIR = '/opt/logs/';
static $project = 'game.llewan.com'; static $project = 'ylc.llewan.com';
/* /*
* 输入记录 * 输入记录
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment