rabin 1 年之前
父節點
當前提交
295adcf8e7
共有 1 個文件被更改,包括 1 次插入1 次删除
  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'];
         		}
         	}
         }