Commit b5d0facb by 冷斌

update

parent 3c407f17
...@@ -906,9 +906,9 @@ class Model_Home extends PhalApi_Model_NotORM { ...@@ -906,9 +906,9 @@ 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();
$v['profit'] = round($v['profit']); $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