Commit 3125d6c9 by 冷斌

update

parent 1c34ce22
...@@ -175,8 +175,6 @@ class Api_Home extends PhalApi_Api ...@@ -175,8 +175,6 @@ class Api_Home extends PhalApi_Api
$list = getLiveClass(); $list = getLiveClass();
$level = getLevelList(); $level = getLevelList();
print_r($level);
die;
foreach ($level as $k => $v) { foreach ($level as $k => $v) {
unset($v['level_up']); unset($v['level_up']);
......
...@@ -524,7 +524,7 @@ ...@@ -524,7 +524,7 @@
function getLevelList(){ function getLevelList(){
$key='level'; $key='level';
$level=getcaches($key); $level=getcaches($key);
if(!$level){ if(!$level || true){
$level=DI()->notorm->experlevel $level=DI()->notorm->experlevel
->select("*") ->select("*")
->order("level_up asc") ->order("level_up asc")
...@@ -564,7 +564,7 @@ ...@@ -564,7 +564,7 @@
function getLevelAnchorList(){ function getLevelAnchorList(){
$key='levelanchor'; $key='levelanchor';
$level=getcaches($key); $level=getcaches($key);
if(!$level){ if(!$level || 1){
$level=DI()->notorm->experlevel_anchor $level=DI()->notorm->experlevel_anchor
->select("*") ->select("*")
->order("level_up asc") ->order("level_up asc")
......
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