sunhao 5 years ago
parent
commit
10bef90c2e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Admin/OrderController.php

+ 1 - 1
app/Http/Controllers/Admin/OrderController.php

957
                 //判断生日礼
957
                 //判断生日礼
958
                 $birth_time = date('m', strtotime($customer_info->birthday));               
958
                 $birth_time = date('m', strtotime($customer_info->birthday));               
959
                 $tom = date('m');       
959
                 $tom = date('m');       
960
-                if($tom==$birth_stime){
960
+                if($tom==$birth_time){
961
                     //生日期内,判断是否已领
961
                     //生日期内,判断是否已领
962
                     $if_b_gift = DB::table('customer_gift_receives')->where('phone', $phone)->where('is_del',0)->where('gift_type', 1)->where('dtime', '>=', $mtime)->first();
962
                     $if_b_gift = DB::table('customer_gift_receives')->where('phone', $phone)->where('is_del',0)->where('gift_type', 1)->where('dtime', '>=', $mtime)->first();
963
                     if(empty($if_b_gift)){
963
                     if(empty($if_b_gift)){