rabin 1 year ago
parent
commit
295adcf8e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Profit.php

+ 1 - 1
src/Profit.php

@@ -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'];
         		}
         	}
         }