Commit 00ff44b1 by 冷斌

add

parent d1c4a22a
...@@ -219,18 +219,18 @@ class Api_Live extends PhalApi_Api { ...@@ -219,18 +219,18 @@ class Api_Live extends PhalApi_Api {
return $rs; return $rs;
} }
protected function getbaiming($uid) protected function getbaiming($uid)
{ {
$domain=new Domain_Home(); $domain=new Domain_Home();
$res=$domain->wealth('day'); $res=$domain->star('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