@@ -13,7 +13,7 @@ class Profit extends Core
foreach ($data['list'] as $k => $v) {
$profit = Dever::db('account/profit')->one(array('uid' => $this->uid, 'config_profit_id' => $v['id']));
if ($profit) {
- $data['total'] += $profit['cash'];
+ $data['total'] += $profit['ycash'];
}