APPLE 3 лет назад
Родитель
Сommit
3ad17387fa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/Common/MemberService.php

+ 1 - 1
app/Services/Common/MemberService.php

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