Commit 233dfb12 by 冷斌

update

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