|
@@ -132,7 +132,7 @@ class Member
|
|
|
public function up($member, $order_id, $role, $type, $mid, $cash, $sell, $level_id = false, $desc = '', $group_num = 0)
|
|
|
{
|
|
|
$data['where_id'] = $mid;
|
|
|
- if ($cash != 0) {
|
|
|
+ if ($cash) {
|
|
|
Dever::load('bill/lib/cash')->up($mid, $type, $cash, $role, $order_id, $desc, 2);
|
|
|
$data['cash'] = $cash;
|
|
|
}
|
|
@@ -420,7 +420,7 @@ class Member
|
|
|
array
|
|
|
(
|
|
|
array('资金余额', '<span style="color:blue">¥' . $member['cash'] . '元</span>'),
|
|
|
- //array('直推业绩', '<span style="color:blue">¥' . $member['sell'] . '元</span>'),
|
|
|
+ array('直推业绩', '<span style="color:blue">¥' . $member['sell'] . '元</span>'),
|
|
|
array('团队业绩', '<span style="color:blue">¥' . $member['group_sell'] . '元</span>'),
|
|
|
),
|
|
|
),
|