Commit 233dfb12 by 冷斌

update

parent b5d0facb
......@@ -906,9 +906,8 @@ class Model_Home extends PhalApi_Model_NotORM {
foreach ($result as $k => $v) {
$familyinfo=DI()->notorm->family
->where('id=?',$v['familyid'])
->fetchOne();
$result[$k]['profit'] = round($v['profit']);
$familyinfo['totalcoin'] = $result[$k]['profit'];
->fetchOne();;
$familyinfo['totalcoin'] = $v['profit'];
$result[$k]=$familyinfo;
}
return $result;
......
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