|
|
@@ -172,7 +172,7 @@ class MemberService extends BaseService
|
|
|
$info['bonus_total'] = round($info['bonus_total'],0);
|
|
|
$info['mobile'] = $info['mobile']? format_mobile($info['mobile']):'';
|
|
|
// 今日是否有拍过商品(业绩有入账)
|
|
|
- $info['show_bonus'] = $info['merits_time']>=strtotime(date('Y-m-d'))? 1 : 0;
|
|
|
+ $info['show_bonus'] = strtotime($info['merits_time'])>=strtotime(date('Y-m-d'))? 1 : 0;
|
|
|
if($info['show_bonus']<=0){
|
|
|
$info['bonus_total']= max(0,$info['bonus_total']-$info['bonus']);
|
|
|
}
|