|
@@ -743,7 +743,7 @@ class MemberService
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if (in_array($point['client_points_category'], ["评价", "消费", "活动", "赠送"])) {
|
|
|
|
|
|
+ if (in_array($point['client_points_category'], ["评价", "消费", "活动", "赠送",'登录活动积分'])) {
|
|
$point['balance_type'] = 'add';
|
|
$point['balance_type'] = 'add';
|
|
} else {
|
|
} else {
|
|
$point['balance_type'] = 'cut';
|
|
$point['balance_type'] = 'cut';
|
|
@@ -751,7 +751,7 @@ class MemberService
|
|
|
|
|
|
if ($key == 0) {
|
|
if ($key == 0) {
|
|
$point['balance'] = number_format($balance, 2, '.', '');
|
|
$point['balance'] = number_format($balance, 2, '.', '');
|
|
- if (in_array($point['client_points_category'], ["评价", "消费", "活动", "赠送"])) {
|
|
|
|
|
|
+ if (in_array($point['client_points_category'], ["评价", "消费", "活动", "赠送",'登录活动积分'])) {
|
|
$balance = $balance - $point['client_points_nbr'];
|
|
$balance = $balance - $point['client_points_nbr'];
|
|
} else {
|
|
} else {
|
|
$balance = $balance + $point['client_points_nbr'];
|
|
$balance = $balance + $point['client_points_nbr'];
|
|
@@ -759,7 +759,7 @@ class MemberService
|
|
|
|
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
- if (in_array($point['client_points_category'], ["评价", "消费", "活动", "赠送"])) {
|
|
|
|
|
|
+ if (in_array($point['client_points_category'], ["评价", "消费", "活动", "赠送",'登录活动积分'])) {
|
|
$point['balance'] = number_format($balance, 2, '.', '');
|
|
$point['balance'] = number_format($balance, 2, '.', '');
|
|
$balance = $balance - $point['client_points_nbr'];
|
|
$balance = $balance - $point['client_points_nbr'];
|
|
// $point['balance'] = $balance = $nowPoint = number_format($balance - $point['client_points_nbr'], 2, '.', '');
|
|
// $point['balance'] = $balance = $nowPoint = number_format($balance - $point['client_points_nbr'], 2, '.', '');
|