Commit cde53529 by 冷斌

fix bug

parent e1c5ba4c
...@@ -911,14 +911,14 @@ class Api_Live extends PhalApi_Api { ...@@ -911,14 +911,14 @@ class Api_Live extends PhalApi_Api {
{ {
$domain=new Domain_Home(); $domain=new Domain_Home();
$res=$domain->wealth('day'); $res=$domain->wealth('day');
$i = 0; $i = 99;
foreach ($res as $key => $r){ foreach ($res as $key => $r){
if ($r['uid'] == $uid) { if ($r['uid'] == $uid) {
$i = $key + 1; $i = $key;
break; break;
} }
} }
return $i; return $i + 1;
} }
/** /**
......
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