Explorar o código

wesmiler 抢表商城

APPLE %!s(int64=3) %!d(string=hai) anos
pai
achega
3ad17387fa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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['bonus_total'] = round($info['bonus_total'],0);
             $info['mobile'] = $info['mobile']? format_mobile($info['mobile']):'';
             $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){
             if($info['show_bonus']<=0){
                 $info['bonus_total']= max(0,$info['bonus_total']-$info['bonus']);
                 $info['bonus_total']= max(0,$info['bonus_total']-$info['bonus']);
             }
             }